Humanoid physics are different from part physics

I am making a dropper game, which is a game that involves falling and trying not to hit stuff.

I’ve made portals that preserve your velocity, and I want to fall in a natural arc when I come out of them.

image

As you can see, it doesn’t work!

I took it to discord but once there they told me to preserve the velocity of the root part when I come out of the portal, which is what I was already doing. I figured it was different for humans, and they didn’t believe me so I ran an experiment. This is with a ball, and the above picture was with a humanoid.

https://gyazo.com/c16dabf9f2d988b41da680808d7b90cc

Edit: Red is where the ball went, Yellow is where the human went.

image

Is there any sort of setting I can change, or hacky work around I can do to make my character go in a beautiful arc like the ball?
Thank you for your time!

(Also I couldn’t figure out what category I should’ve put this in so sorry if this is in the wrong one.)

1 Like

Scripting support is the exact place to put this. I am actually confused what the problem is though. The gyazo gif seems to have the ball fall through.

1 Like

I’m trying to get a human to fall through, and when they do it does a sharp come out and then fall as opposed to a natural arc.

Never mind, I get what you mean… This would probably require some general Velocity and LookVector checks with some Vector Math thrown in. However, the way that seems to be working, is that you are looking to have the gravity affecting the ball lessen when it is shot up and out of the portal. now that might just not working when using default Roblox gravity and physics. So the solution is to find the exact velocity the ball has when it falls, and then make sure that velocity is the same when you go through the portal itself, by use of a few equations to narrow down exactly how much velocity needs to be applied to increase the veolcity at the frame that the ball goes through the portal.

1 Like

No, it works the way I want it to on the ball, but I want it to work the same way on the human.

juist exchange the word Ball with Humanoid above lol

Do you need to still have control of the player?

You could try enabling PlatformStand on the humanoid.

Just a hunch, when you set the velocity of the humanoid root part, what are the respective velocities of the arms, legs, etc.? Your script likely does work the way you intended but you may be seeing interference from other parts of the humanoid. Try setting the velocity of each part of the character and see what happens.

2 Likes

humanoids which are not sitting or platformstanding are trying to 0 out all momentum (aside from gravity, as that is a constant), you can try using a constantly updating bodymover on the clientside to fix that issue

2 Likes

I’ll try your solutions when I get the time. Thanks!