jPCT - a 3d engine for Java > Support

Rotation Point

(1/1)

jtxx000:
How do you set the point an object rotates around?

EgonOlsen:
This can be done using setRotationPivot()...
have a look here:

http://www.jpct.net/doc/com/threed/jpct/Object3D.html#setRotationPivot(com.threed.jpct.SimpleVector)

jtxx000:
Thanks, I knew there had to be a way.

Navigation

[0] Message Index

Go to full version