Answers for "how to freeze x and y position in rdb2 with code unity"

C#
1

how to freeze x and y position in rb2d with code unity

rb.constraints = RigidbodyConstraints2D.FreezePositionX;
            rb.constraints = RigidbodyConstraints2D.FreezePositionY;
Posted by: Guest on November-13-2020
2

freeze position unity c#

rigidbody.constraints = RigidbodyConstraints.FreezeRotationX | RigidbodyConstraints.FreezeRotationZ | RigidbodyConstraints.FreezePositionY | RigidbodyConstraints.FreezePositionZ;
Posted by: Guest on July-01-2020

Code answers related to "how to freeze x and y position in rdb2 with code unity"

C# Answers by Framework

Browse Popular Code Answers by Language