www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: arekz on July 12, 2016, 03:03:37 pm
-
I cannot find simple thing. I want to put my Object3D instance to specific point, for example (1f, 0f, 2f)
the Object3D has a method translate() but this method translate by vector (add to actual position).
How to make setTranslateTo(point) ?
-
Something like:
obj.clearTranslation();
obj.translate(1f, 2f, 3f);