Answers for "rigidbody how to lock position from script"

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

Code answers related to "rigidbody how to lock position from script"

C# Answers by Framework

Browse Popular Code Answers by Language