jPCT-AE - a 3d engine for Android > Support

How to set UpVector of camera?

<< < (2/2)

raft:
in jPCT's coordinate system typical upVector is (0, -1, 0)
and the result also depends on where your objects and camera are in the scene.

paulscode:
Also, make sure your vecCameraTarget vector is normalized, and also make sure that it forms a right-angle with whatever up-vector you use.

Navigation

[0] Message Index

[*] Previous page

Go to full version