Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sensors with three degrees of freedom
05-29-2007, 11:45 AM,
#2
 
The code to modify the view is in src/vamosworld.cc. Look for this line:
Code:
else if (cammode == CMInCar)
You can clear out the code in that "else if" block if you want... the end result is to set cam.position to where you want the camera to be and cam.dir to where you want to camera to look. The camera direction is stored as a quaternion.
Reply


Messages In This Thread
sensors with three degrees of freedom - by mpo - 05-29-2007, 09:30 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-29-2007, 11:45 AM
[No subject] - by thelusiv - 05-30-2007, 02:39 PM
[No subject] - by mpo - 06-08-2007, 11:43 AM
[No subject] - by thelusiv - 06-08-2007, 04:29 PM
[No subject] - by kidrock - 06-20-2007, 09:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)