if i have a camera above and behind my car, but if the camera is moved from behind to forward of the car, so its pointing down at the car, basically tipped forward, the camera's yaw all of a sudden flips negative.
The PointEntity seems to be trying to make the camera always be right side up.
it's really annoying - i don't want it to do that. i don't need the camera deciding what way is right side up. it's important because my vehicle can climb walls, go upside down, and the cam needs to not do anything mysterious. there is no concept of 'down' in my world, except y++ relative to each object.
here's output from monitoring the camera. i'm doing nothing here except the camera gets tipped slightly from slightly behind looking down on car, to slightly ahead looking down on car. as if you looked down at something slightly behind you. Yaw immediately tries to turn the camera around once it detects you are looking upside down at your object.
; roll pitch yaw
;cam:0.0 89.7855 95.2158
;cam:0.0 89.8021 -94.8024
;cam:0.0 89.7867 94.5051
;cam:0.0 89.8002 -95.4105
it seems that it actually flips when you are looking down/backwards at the world.
it does make the world be right side up! But I really don't want that.
is there a way to turn off this behavior? i don't think i can allow it to turn it and then force the yaw back, because cam and car could really be in any orientations. it would be kludgy at best.
any ideas?
The PointEntity seems to be trying to make the camera always be right side up.
it's really annoying - i don't want it to do that. i don't need the camera deciding what way is right side up. it's important because my vehicle can climb walls, go upside down, and the cam needs to not do anything mysterious. there is no concept of 'down' in my world, except y++ relative to each object.
here's output from monitoring the camera. i'm doing nothing here except the camera gets tipped slightly from slightly behind looking down on car, to slightly ahead looking down on car. as if you looked down at something slightly behind you. Yaw immediately tries to turn the camera around once it detects you are looking upside down at your object.
; roll pitch yaw
;cam:0.0 89.7855 95.2158
;cam:0.0 89.8021 -94.8024
;cam:0.0 89.7867 94.5051
;cam:0.0 89.8002 -95.4105
it seems that it actually flips when you are looking down/backwards at the world.
it does make the world be right side up! But I really don't want that.
is there a way to turn off this behavior? i don't think i can allow it to turn it and then force the yaw back, because cam and car could really be in any orientations. it would be kludgy at best.
any ideas?