Author Topic: Locking a player's head rotation?  (Read 786 times)

Is there anyway in a vehicle datablock (or not in the datablock) to lock the player's first person look abilities to 90° (in other words, they'd be stuck looking to the left). If possible, this would only affect the first person camera.

I found a hacky way by using a loop that sets their transform, using the same position they have, but something different for the rotation, such as:

%player.setTransform(%player.getPosition() SPC "1 0 0 90");

You can make the loop check if it is in that type of vehicle.

There is no way to determine if the player is in first or third person view on the server side, as far as I know.

Hmm, ok. Thanks anyway.