I am new to Unity and am trying to create a simple 2d platformer. I have applied a box collider to my player sprite and the floor/platform its standing on. Now when I go over the platform, it toppes off of it as expected, but I want it to simple fall off it instead of toppling. How can I do this?

Also I saw a video of Unity Live Training in which he was using a separate circular collider for the player's feet. When I did this, the sprite started rolling.

Can anybody help me with this?


1 Answer 1


There is an "fixed angle" option on Rigidbody2D component,enabling that works

  • 3
    \$\begingroup\$ If you're answering your own question, you should give a definitive answer. Not a suggestion that might work. You should know if it works or not, since you're the one asking the question. Please flesh this answer out to include more information about how to enable restraints, and why this will solve the problem. \$\endgroup\$
    – House
    Commented Mar 26, 2014 at 15:15
  • 1
    \$\begingroup\$ For me it did work. As for why this will solve the problem- the name of the option, "fixed angle" is pretty self explanatory,it does not allow angle to change(fixes it) and thus will stop rotation. \$\endgroup\$
    – Vaibhav
    Commented Mar 27, 2014 at 9:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .