www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: Yerst on July 30, 2013, 05:52:44 pm
-
Hey!
At first, i wan't to translate the model to a point in the game.
Then i translate it again (with the camera Position), but i clear the translations every frame.
When i clear the translations, the translation i made at the beginning is also cleared.
Can i lock the translation or translate it in a way that the translation doesn't get cleared when i call clearTranslations?
-
You can apply the current translation to setOrigin(...) and then clear it. That should do the trick.
-
Thx, but how do i also do this with rotations?