Game Development Community

Camera distance and mouse wheel

by Rick Piller · in Torque Game Engine · 07/18/2006 (11:21 am) · 1 replies

Any help on where I can change the distance of the camera from the player in 3rd person mode? Also how would I go about changing this via the mouse wheel? Just a point in the right direction would be fine. Thanks.

#1
07/18/2006 (11:55 am)
With the default setup you change the "cameraMaxDist" value in the players datablock. That's no good for moving it around at runtime though, youl'd need to go into source and make the camera distance an adjustable value. There are various resources on ways you may want to look at doing this if you search around.