Implement object collisions for your 2D game

Tutorial

·

Beginner

·

+10XP

·

30 mins

·

(1267)

Unity Technologies

Implement object collisions for your 2D game

1. Overview

2. Add a rigidbody component to the player character prefab

3. Disable gravity for the player character

4. Add a collider to the player character prefab

5. Configure an object to collide with the player character

6. Fix the player character rotation

7. What is causing the jittering?

8. Fix the PlayerCharacter jittering

9. More things to try

10. Check your script

11. Next steps

Complete this tutorial