Plane totally freaking out when someone sits in it

Hello!

I made some basic air physics and now all of a sudden, when someone gets in the plane it decides to flip out, but when nones in the plane, it doesn’t?

I tried making the player massless but it doesn’t help.

Here’s what I mean:

EXTRA INFO:

uses vector forces and real aerodynamics
works fine without the player, and when i add a part with the exact weight of the player, it doesn’t do anything and flies normally.

oh, and, don’t even say it has anything to due with mass, whatever i do doesn’t work
i didn’t get my equations wrong.
its not the plane, this is an issue with my other plane i made.

any help?

2 Likes

humanoids apply weird forces to keep its rotation and position
maybe try setting the humanoid to PlatformStand=true

1 Like

local function OnChange()
	local lastPilot
	if PilotSeat.Occupant ~= nil then
		lastPilot = PilotSeat.Occupant.Parent
		lastPilot.Humanoid.PlatformStand = true
	else
		lastPilot.Humanoid.PlatformStand = false
	end
end

did this but it doesn’t seem to work
(it kicks the player outside of the seat)

1 Like

Maybe turn autorotate off while the player is seated?

1 Like

tried that too

[character limit]

its network ownership im sure.
when the player sits, make sure the network ownership of the jet does not switch to that player (as it usually does by default)

make sure to set the network ownership on the server, to the thing controlling the jet.

Hope that helps you

wait how do i set it to the server? i know how to set it to the player just not the server.

[char limit]

Part:SetNetworkOwner(owner)

Or Ownership?

Im away from my PC rn

i meant how do i set the network ownership to the SERVER

I think if you put nil as the argument, it will be set to server. There is an example in the link that talks about seats, and players sitting.

did that but it doesn’t seem to be helping.

ok, well it was worth a try, sorry :frowning:

1 Like

I almost wonder, if… when the player sits in the seat, some of the player’s forces are applied before the seat has time to turn them off (since when sitting you exert no forces on anything) Have you tried to first set the player into a PlatformStand, then manually weld them to the plane (avoiding the seat part) just to see if this makes any difference?

yes, i tried that after realizing platform stand kicks the play out of the seat.

does just about the same thing as the normal seat.

1 Like

Have you tried a non player controlled npc with a humanoid, and if so, did you try and R15 and also an R6, because I know there are some strange physics issues with R15 and water, where as R6 does not have the same issues.

Also, with humanoids some things need to be repeatedly set, such as collision, each frame for them to stay that way, maybe the same is true for the massless? Have you tried setting the riding player’s massless on all parts each frame?

Just some suggestions

Doesn’t have the same issue when I use a NPC. But is extremely noticeable when I play ingame.

Also saw if it was the same on the server side, it is.

Pretty odd.