A downloadable Unity script

Download NowName your own price

Rigidbody2D Anti-Push

Prevents your 2D character from being pushed, nudged, or drifted by physics while touching other colliders. Perfect for top-down and platformer controllers where you decide the motion, not incidental physics forces.

What it does

  • Locks out incoming forces/impulses on contact so the character keeps its intended position and velocity.

  • Eliminates micro-slides, corner jitter, and “sticky” shoves when brushing walls or crowds.

  • Plays nicely with custom movement scripts (AddForce/velocity/Translate) as long as your movement drives the Rigidbody2D intentionally.

Download

Download NowName your own price

Click download now to get access to the following files:

Rigidbody2D Anti-Push.rar 1.4 kB

Leave a comment

Log in with itch.io to leave a comment.