Pathways
LiveEducator Hub
  • Sidebar node image

    tutorial

    Implement object collisions for your 2D game
Unity Version: 2022.3
Change
Steps
  • 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
  • You finished!

Unity Version 2022.3

Other versions available

Don’t have a compatible version?

Install a new version from the Unity Hub

Continue
Language
Social
Learning
  • Pathways
  • Courses
  • Projects
  • Tutorials
  • Educator Hub
Live
  • Live Sessions
  • Previously recorded
Education Plans
  • Students
  • Educators
  • Institutions
  • Certifications
Resources
  • Unity Asset Store
  • Community
  • Documentation
  • Unity FAQ
  • Learn FAQ
Unity
  • Unity.com
  • Newsletter
  • Blog
  • Events
  • Unity Play
Copyright © 2025 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.