Just add a node to the ConvertWorldToLocalPosition.pb example , and attach the "entity" to it.
Rotate the node instead, and write
ConvertWorldToLocalPosition(NodeID(1), PickX(), PickY(), PickZ())
in the corresponding line instead the ConvertWorldToLocalPosition(EntityID(entity), PickX(), PickY(), PickZ())
Run it and watch yourself the behaviour.
ConvertWorldToLocalPosition() not working with Nodes
- Psychophanta
- Addict
- Posts: 4997
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Lípetsk, Russian Federation
- Contact:
ConvertWorldToLocalPosition() not working with Nodes
http://www.zeitgeistmovie.com
While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB
While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB