Welcome, Guest Thursday 24th April 2014, 14:54:23
   Home   Help Search Login Register  


Author Topic: locationPosition v. position and attached objects  (Read 190 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline

« on: 16 Sep 2009, 16:46:26 »

The wiki has 2 different ways to determine the position array of a cfg-described location.

position (used to determine the position of a location):
Returns a location's position. If it is attached to an object, the location's set or created position is returned rather than object's position.

locationPosition (used to determine the position of a location):
Returns the position of a location. If the location is attached to an object, that object's position is returned.

Ok, I see that there's a difference in what is returned, based on whether an object is attached.  Makes much sense.

But begs the question(s) - how and why would you "attach" an object to a location?

Sic semper tyrannosauro.
Pages: [1]   Go Up
  Send this topicPrint  
Jump to: