How to disable rotation in ChaseCam

Hi everybody,



I have a small question about my little project.

Is there any way to disable rotation when i using ChaseCam ?

I want to do camera like in Warcraft or StarCraft2 but I got stuck at this stage.



Thx.

you could try playing with setDragToRotate(true) which will yeild similar results to an RTS camera.

or

you could try setRotationSensitivity(0);

or

you could try setting setMaxVerticalRotation() and setMinVerticalRotation() to the same value, same for setMinHorizontalRotation() and setMaxHorizontalRotation()

or

you could try extend it and set canRotate to false

or

you could try having a look at this post which is an RTS camera control

or

there are a couple of other avenues to explore if these don’t help :slight_smile:

1 Like