Constant Velocity After Collision

Hi! When my player cube collides with the falling cube it gets a small amount of velocity in the opposite direction so it ends up drifting forever even without touching the movement keys. Is there a good way to handle this?

Edit: Instructor mentions this issue in the Rotate Objects video later in the course, it’s happening because this is a simple way to handle movement and there are better ways they’ll teach later. Looks like adding friction or drag help combat it a little if you use this method.

Hi @BeetleG,

Welcome to our community! :slight_smile:

Adding a physics material with friction could solve this problem. However, it depends on what you expect to happen.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms