Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Camera tilting........
Camera tilting........
2003-01-11, 12:20 PM #1
I've got the camera set to a thing that has its velocity set, however, the camera tilts left/right when it's moving and is quite annoying as it causes jittering. The only flags it has in its template are thingflags=0x800

I remember the JK specs saying physics flag 0x400 is "banks when turning" but thats not even set.

Don't tell me I have to find a way around this. [http://forums.massassi.net/html/frown.gif]
-Hell Raiser
2003-01-15, 3:06 PM #2
Nobody??
-Hell Raiser
2003-01-15, 3:33 PM #3
I think you'll have to find a way around it.

What sort of camera are you using?
Team Battle.
2003-01-15, 6:03 PM #4
A camera that keeps moving to a position based on the positions of the local player and another player. When a player moves, so does the camera to keep them both in view, and thus the tilting left/right and the jittering insues. Setting the position of the camera instead of setting it to move there is quite effective.... untill you move to a different sector. [http://forums.massassi.net/html/frown.gif]
-Hell Raiser
2003-01-15, 10:57 PM #5
If you were using MotS you wouldnt have sector issues . . . try using the position-sector-acquisition code in the Datamaster, and create a ghost at your position, and teleport the camera to it...
And when the moment is right, I'm gonna fly a kite.
2003-01-16, 4:05 PM #6
I guess i could try that....
-Hell Raiser
2003-01-16, 4:56 PM #7
I cant see a simple way of removing the camera jittering.

You could try getting your things position, create another thing where it is (dont fire a projectile). Set it to the camera focus and use SetThingLook() to get it right.
Team Battle.
2003-01-16, 9:56 PM #8
Mind posting a code snippet?
Dreams of a dreamer from afar to a fardreamer.
2003-01-17, 12:51 PM #9
It's in the datamaster. [http://forums.massassi.net/html/smile.gif]
-Hell Raiser
2003-01-18, 8:22 AM #10
Well, can the center node of the camera be off center from the POV of the camera....If so then you can make the camera rotate around that node...forcing the cameras perspective to be on the trajectory of a circle...thus making it smooth as butter.

Ive done this with an elevator to make it go up at an exageratted sweeping curve using only 2 frames...the starting point and the ending point. The ending point is much higher and also has a Yaw of 180 degrees from the starting point. The center point being several JKU away from the elevator itself makes it move in a smooth curved trajectory.
2003-01-18, 9:03 AM #11
Eggtooth, the camera tilts when it's moved. Play JK, go in 1st person, and you'll see what I mean.
-Hell Raiser
2003-01-18, 12:10 PM #12
Well, the sector position thing works alright, but it's got its quirks. =\ Especially when the position isn't in a sector at all. [http://forums.massassi.net/html/frown.gif]
-Hell Raiser
2003-01-20, 5:25 PM #13
Just don't move the camera unless you're moving it at least some minimum distance. That'll eliminate the jittering because very small movements aren't made.
And meanwhile the bus with legs has destroyed half of disneyland . . . and nobody cares!

↑ Up to the top!