Join today! Get your plugin IDs and discuss developer-related topics with members around the world:
» Forum Index
» Search the Forum
» Search (archived) Forum
» Plugin IDs
Plugin Cafe's original forum is still archived and available for searches. The ability to post here has been disabled.![]() |
Developer's Forum | [PREV] [NEXT] | |||||||||||||||||||||
Subject: RE: Setting position along objects axis.... From: Mikael Sterner Date: 9/14/2001 7:57 PM GMT
> that GetPosition() is the local coordinates. This simply means that you are changing the coordinates in the object's own matrix, without any transformations. I.e. the coordinates are in the parent's coordinate system. To get your kind of translation, use this function
where for example trans=vector(100,0,0) moves obj 100 units along its X-axis. (The trans vector is transformed from within the local system of the object to the parent's system.) Mikael Sterner Developer Support
| ||||||||||||||||||||||
![]() | ||||||||||||||||||||||
[PREV] [NEXT] |