Author Topic: Camera updates  (Read 910 times)

0 Members and 1 Guest are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Based on some of the warpout camera code, I think I may have gotten camera translations working, along with more flexible camera rotation movement.

I didn't feel like making more SEXPs, so I dropped camera support into the scripting system. This also made it easier to implement multiple-camera support, so you can have any number of cameras to play with now. (You can switch between them with setCamera).

Most of the functions are in the testing library:

The functions to move the camera are part of the camera handle:

I still need to actually test this. I coded myself a script-eval SEXP, but have been having trouble getting it to work :rolleyes:

However, all the scripting stuff should be implemented in this build, if you want to give it a shot: