I keep looking around on the internet and I see people turning on the restriction but I cant find a way to turn it back off.
This is basicly what I have
void Start()
{
rigidbody.constraints = RigidbodyConstraints.FreezeRotationX | RigidbodyConstraints.None | RigidbodyConstraints.FreezeRotationZ;
}
how do I turn Freeze Rotation y off