Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MoveAxis size
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: MoveAxis size

I think 1.0 corresponds to one-half pi radians (90 degrees) when the move object type is angular, and corresponds to the Y-size (or X or Z) of the main body of the entity when in linear mode, meaning setting it to 1.0 will move the object along its axis a number of units equal to the size of the main body along that same axis. Could be wrong though; I don't work very much with move objects.

Also, if you want to move it precisely, just experiment until you find the perfect amount, and declare a constant global variable with that value. Then, instead of moving your object to 1.0 or some other value, set it to 1.0 * PRECISE_MEASURE, where PRECISE_MEASURE is the true "OpenValue" and 1.0 changes based on how far "open" you want your object. Simple little workaround, but it may accomplish what you want without exhaustive testing and tweaking on the entity's properties. Well actually, it'll save you the tweaking. You'll still have to test it Smile

(This post was last modified: 04-29-2012, 02:32 AM by palistov.)
04-29-2012, 02:28 AM
Find


Messages In This Thread
MoveAxis size - by Homicide13 - 04-29-2012, 01:43 AM
RE: MoveAxis size - by palistov - 04-29-2012, 02:28 AM
RE: MoveAxis size - by Homicide13 - 04-29-2012, 03:29 AM



Users browsing this thread: 1 Guest(s)