- Home /
RigidbodyConstraints.None issue
I freeze rotation with GetComponent<Rigidbody>().constraints = RigidbodyConstraints.FreezeRotationY;
which works and freezes that axis, but when I release it with GetComponent<Rigidbody>().constraints = RigidbodyConstraints.None;
I can no longer rotate it with physics (the editor shows that the axis is indeed free).
Any help appreciated.
I also found that it is only when I try to move it with Forcemode.Force or Impulse (these happen to be the forces that rely on mass) that nothing happens.
Can you post the complete code how you are implementing it, that might help more!
Your answer
Follow this Question
Related Questions
2D 360 degress platformer example needed 0 Answers
OnCollisionStay only detects collisions after a secondary collision 0 Answers
Referencing a child 2 Answers
AddTorque/AddRelativeTorque inaccurate 0 Answers