Forums
How to change camera orientation? - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: How to change camera orientation? (/showthread.php?tid=1464)



How to change camera orientation? - Randika - 03-22-2011

Hi...

I'm new to VDrift and I want to change the default camera position and orientation. So can someone please tell me how to do it and which source files handle the orientation of the virtual camera ?

Thanks Smile


- joevenzon - 03-26-2011

The data/cars/*/*.car files define the driver and other fixed camera positions for the car:
http://wiki.vdrift.net/Car_parameters#Driver
http://wiki.vdrift.net/Car_parameters#View

The chase cam and other camera modes are hard coded in the src/camera_*.cpp files


- Randika - 03-27-2011

Thanks ..... Smile