Answers for "scale rigidbody with object size unity"

C#
3

rigidbody2d unfreeze position

public Rigidbody2D rb;

void Start()
{
	rb.constraints = RigidbodyConstraints2D.None;
}
Posted by: Guest on July-16-2020
1

unity rigidbody constraints unfreeze

rb.constraints = RigidbodyConstraints.FreezePositionX | ~RigidbodyConstraints.FreezePositionY | RigidbodyConstraints.FreezePositionZ;
Posted by: Guest on December-07-2020

Code answers related to "scale rigidbody with object size unity"

C# Answers by Framework

Browse Popular Code Answers by Language