Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Car camera setup
02-17-2012, 03:12 PM,
Car camera setup
To allow more control over the cameras I've moved the setup into car config. I've updated all cars to use the new syntax.

name = foo         #required
type = mount      #required types: mount, chase, orbit, free
position = 0, 0, 0 #optional
lookat = 0, 1, 0   #optional used by mount only atm, determines view direction
stiffness = 0        #optional used by mount

The number of camera types could be reduced in the future, there is some not needed differentiation. Field of view could be added per camera, not sure if it is wanted?

The first six cameras are hard-wired in the gui, input handling. There is no such requirement in the code itself though.

Nightly build:

Forum Jump:

Users browsing this thread: 1 Guest(s)