Dev2Fun
05-04-2009, 20:23
Ive a question to Petr Schreiber:
Is it possible to make a three new keywords?
to get angle between the position of one entitie and the local coordinate of another.
For exemple entity A is positionned at 0,0,0; entity B is positionned at 0,2,2 and is looking at 0,0,4.
Axe around turning is local B x and axe reference to start turning is local B z.
The value would be 3*M_Pi/2 or M_Pi/2 (because of the direction of the rotation)
( Thanks to thinbasic and to Petr Schreiber)
Is it possible to make a three new keywords?
to get angle between the position of one entitie and the local coordinate of another.
For exemple entity A is positionned at 0,0,0; entity B is positionned at 0,2,2 and is looking at 0,0,4.
Axe around turning is local B x and axe reference to start turning is local B z.
The value would be 3*M_Pi/2 or M_Pi/2 (because of the direction of the rotation)
( Thanks to thinbasic and to Petr Schreiber)