- Home /
Unity2D Floor falling beneath
So I have a basic character controller script, my character has a 2D rigid body, 2D box collider, and a 2D cirlce collider, it is standing on a cube floor with a 2D box collider. The issue is whenever the player gets near a corner on the cube the floor tilts sideways and falls.
Please clearly specify your question. At present I can't able to figure out what are you trying to say?
Answer by Xare · Jun 27, 2014 at 05:13 PM
Give your floor a rigidbody Constrain your floor on x/y/z axes Constrain the rotation of your floor on x/y/z axes
All done from rigidbody component
I'm looking at the Rigidbody 2D options and I don't see anything about constraining the floor on x/y/z axis or the rotation
Your answer
Follow this Question
Related Questions
Why do sprites stick to each other? 1 Answer
How to animate more platforms without using new animation for every single one? 0 Answers
Spawn moving GameObjects with identical gaps! 1 Answer
2D character controller getting stuck on walls 5 Answers
Unity2D Joints not rotating the way I want them to. 1 Answer