Simpleplanes is a great game, but an old game, and old game means weird stuff
and one of those old stuff is something weird that happens with the camera.
The aircraft uses the camera as an origin point to rotate (this is very noticeable with Roll). And on Chase, orbit (and Flyby I think) modes, the Camera is set to the center of mass, to make it more realistic, but said realism is thrown out of the window when you switch cameras. Especially with missiles on the wings. The whole plane will rotate around the missile on the wingtip if the camera is set to that.
And another fun whacky fact, stuff on hinges/rotators/detachers count as different crafts. This is very noticeable on planes with ejection seats and TVC nozzles. For ejection seats, the Camera will be set to which part the cockpit is on (most probably the seat part), so the camera will be in a really funny place, and the aircraft will rotate funny. For TVC, engines attached to hinges for TVC won't be able to use any of the inlets on the rest of the plane. And inlets attached to hinges (for example you're making an F-15, and you attach the inlet onto the hinge as you know the inlets rotate when it angles up and down?) won't supply the rest of the engines with air.(This happened to me while I was making my F-15 STOL/MTD)
Yea short summary SP old, has wacky code
Hope this is fixed in SP2 :3
@rexzion
Ooooooooh
:3
@SPWithLizzie "Parallax is a displacement or difference in the apparent position of an object viewed along two different lines of sight and is measured by the angle or half-angle of inclination between those two lines.[1][2] Due to foreshortening, nearby objects show a larger parallax than farther objects, so parallax can be used to determine distances." -Wikipedia
@rexzion
What's parallax?
@SPWithLizzie i dont think i phrased myself properly. when the center of the camera is shifted away from the center of mass of the aircraft (the actual rotation center) it will look like the aircraft is rotating around the center of the camera, the illusion is created by parallax when the aircraft is far away from any static reference point, such as the terrain and water, which in flight is usually many kilometers away.
@rexzion
Still, if it is working as intended, why?
Why was that the choice?
@SPWithLizzie its not an error, the effect is just what happens when the camera's center is far away from the actual point of rotation, it looks like the camera becomes the center of rotation there isnt really a way to "fix" it because it is technically working as intended. i will say though that the camera center changing from the center of mass of the build to the center of mass of the other rigidbody its attached to can be quite frustrating at times (namely with ejection seats)
Also a lot of high plat users here:3
@Axartar
Fr
What coding f♥ckup lead to that
yeah ive experienced the different camera different axis of rotation its weird icl
@SPWithLizzie the camera center is just the center of mass of whatever physics body is attached to the cockpit (anything attached via rotators / detachers / pylons etc are separate physics bodies to the rest of the craft)
@rexzion
Still, it might just look like it
But still very weird looking nonetheless
@SPWithLizzie ok lets test it for real then.
if the aircraft rotation center is based on camera position then having a camera placed a significant distance away on the x-axis will result in massive altitude change (equal to twice the distance of the aircraft from the camera) over the course of a 360-degree rolling manuever.
i chose the kicking fish as my testing aircraft with the only modification being an orbit camera (scaled by 10 for visibility purposes) offset 100 meters on the x-axis to the right side of the aircraft.
bring the aircraft to fly just over the terrain in level flight, then roll left. if the rotation was based on the camera then the aircraft would crash into the ground as the roll center forces the aircraft to get pushed into the terrain. but this does not happen as tested.
@rexzion
Wrong
It literally uses the camera as the center to turn
it may appear as if the aircraft rotates differently based on camera position, but that just isnt what happens, it only appears to because of the different perspective
Hmk