constraints
The degrees of freedom constraints (locks) for the body of Linear X, Linear Y and Rotation Z.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public PhysicsBody.BodyConstraints constraints { readonly get; set; }