Author Topic: Camera is being INCREDIBLY stupid.  (Read 1945 times)

0 Members and 1 Guest are viewing this topic.

Offline Krelus

  • 28
Camera is being INCREDIBLY stupid.
For some reason, the camera refuses to do what I tell it to do. I've actually worked out that the heading it actually points in is the EXACT opposite of what I want it to do. I tell it to face a corvette, but it points away from it.

Is this a known glitch? If needed, I can post my SEXP and a video.

Also, in a lesser issue, for some reason the FOV narrows big time every time I turn the camera. This is immensely bothersome.
« Last Edit: May 22, 2009, 11:53:50 am by Krelus »

 

Offline Axem

  • 211
Re: Camera is being INCREDIBLY stupid.
Yeah, the camera sexps CW heading, while background placement (which FREDders might be more familiar with) uses CCW heading. It's kind of confusing really. I think you can just insert a negative sign in your sexps if you're really keen on calculating it manually.

Also when we're talking about FOV narrowing, are you doing anything with your bank? I've had trouble with banking past 90 degrees. If you go past it, the camera FOV narrows and makes some weird stuff happen.

 

Offline Krelus

  • 28
Re: Camera is being INCREDIBLY stupid.
Yeah, the camera sexps CW heading, while background placement (which FREDders might be more familiar with) uses CCW heading. It's kind of confusing really. I think you can just insert a negative sign in your sexps if you're really keen on calculating it manually.

Also when we're talking about FOV narrowing, are you doing anything with your bank? I've had trouble with banking past 90 degrees. If you go past it, the camera FOV narrows and makes some weird stuff happen.

Except I'm telling it to point at an object and it faces the opposite direction.  :confused:

I guess I could just try the heading.

EDIT: AHA! That's what was screwing me up! The set-camera-rotation sexp is relative to the camera's current direction.

EDITEDIT: Fixed the other issue as well, the camera-target SEXP is all kinds of borked.
« Last Edit: May 22, 2009, 01:29:15 pm by Krelus »

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: Camera is being INCREDIBLY stupid.
wait.. you need to check your sexps again.

do camera stuff in this order:

-place cutscene bars
-place camera in position
-change camera facing (use facing object for this one)

If you used set camera target you might get a weird effect after trying to use the placing and facing combo... don't know exacty why but the camera tends to revolve and not folow the instructions when a set-camera-target sexp was used previously.
el hombre vicio...

 

Offline Krelus

  • 28
Re: Camera is being INCREDIBLY stupid.
wait.. you need to check your sexps again.

do camera stuff in this order:

-place cutscene bars
-place camera in position
-change camera facing (use facing object for this one)

If you used set camera target you might get a weird effect after trying to use the placing and facing combo... don't know exacty why but the camera tends to revolve and not folow the instructions when a set-camera-target sexp was used previously.


Yeah, the reason I used that was I wanted the camera to pan past a destroyer while keeping track of it. That seemed like the easiest solution, but now I'm using Set-Camera-Rotation and all is well.