Whats the most effective way to create a good feeling push system (i dont care about hitboxes only the impulse)

whats the most effective way to create a good feeling push system (i dont care about hitboxes only the impulse)

Hey there, I would use Linear Velocity on the pushed character’s HRP

Like @Dfn150 mentioned, you could use Linear Velocity. You could use this in conjunction with Debris Service (or by using task.wait or task.delay if you’re really worried about performance) to delete it within 100 milliseconds (0.1 seconds) or so.

Additionally, you could also use Basepart:ApplyImpulse(). This essentially just applies a force exactly one time - like a push. The drawbacks with this one, however, are that the replication is (from what I’ve found) really buggy, so you may have to replicate it on the server and all the other clients.

These are the two most common options, but there are other methods out there such as Vector Force (What’s the difference between Linear Velocity and Vector Force?) and Align Position.

You can look at each of these options and decide which to use, but my personal preference is definitely Linear Velocity.

I hope this helped!

1 Like

I would recommend using Roblox’s new character controller as it is 100% physics based unlike default humanoids Character controllers | Documentation - Roblox Creator Hub

its also posable to attach the new character controller to humanoids by turning off EvaluateStateMachine Humanoid | Documentation - Roblox Creator Hub

you can also find examples here: Releasing Character Physics Controllers

and once you have done that you will notice that things like Basepart:ApplyImpulse() feel a lot nicer because humanoids lock the character into place

4 Likes