How do I prevent a rigidbody2d from raising in the air when running into it with my player?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By SupToasty
:warning: Old Version Published before Godot 3 was released.

I have angular velocity and rotation off so it’s not rotating, the box shaped object is just literally raising upward along with my player that is moving it.

:bust_in_silhouette: Reply From: The_Duskitty

Make sure you dont have it under the player’s rigidbody in the heiarchy, then Check to make sure it’s friction is set to 0 so the player doesnt get stuck to it

Setting Friction to 0 solved the problem. Thanks Duskitty!

SupToasty | 2016-03-27 01:13

Yup ^^ if you need any more help just ask

The_Duskitty | 2016-03-27 05:08

:bust_in_silhouette: Reply From: SupToasty

For anyone who wants the box to stop and doesn’t want the same problem I had, set both the floor and the box’s frictions to .8