Game Development Community

Not be able to look so far down *fixed answer in here*

by Alexander B · in Torque 3D Beginner · 12/03/2009 (3:36 am) · 2 replies

How do i set the camera so the user can't look down as when the player looks down they can see inside thier body. I just want to be able to look up. Thanks in advance.

#1
12/07/2009 (4:18 am)
I know what to do now. Go into player.cs in the datablocks folder and edit the

minLookAngle
maxLookAngle
maxFreelookAngle

to this:
minLookAngle = -1.4;
maxLookAngle = 0.4;
maxFreelookAngle = 1.0;

Very handy if you can look down inside the players body.
#2
12/07/2009 (11:05 am)
Alternatively creating a model (or editing it in the shape editor) with the eyenode further forwards would prevent the camera fomr clipping into the player model.

Also not using 90 degrees as a view angle helps, many FPS games use 65-75 degrees as their field of view which creates more of a "flat screen" image rather than the slightly rounded lens effect of 90.