- Home /
Creating a 2.5D Platformer.. use rigidbody/character controller, or custom code?
So i'm creating this 2.5D platformer. I've tried using a Rigidbody on my player object and making it move through code but it's bringing with it a few problems.
Then this question came to mind: What do the professionals do? Do they code every bit of the player movement themselves, including gravity and making characters not fall through the floor and not phase through walls? Or do they just stick a rigidbody on there and make it move through code?
I know that Unity comes with pieces of code called "Character Controllers" which you can use. One is located under "Third Person Player" in the "Components" menu (Windows). You can create your own by modeling off of this script (since you are doing a 2.5D game ins$$anonymous$$d of 3D) or search for character controllers online that would fit your needs and model your script on that.
Your answer
Follow this Question
Related Questions
Character on a moving platform slows down 1 Answer
Circular (Inside cylinder) World for 2d Platformer 1 Answer
2D movement that allows 2 or more forces.,2D movement that allows to have 2 different forces. 0 Answers
How do I make a Skybox scroll by moving left/right in a Platformer 0 Answers
2d Platformer Jumping Not Working 1 Answer