Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


constraints

Get/Set the degrees of freedom constraints (locks) for the body of Linear X, Linear Y and Rotation Z.
Read time 1 minuteLast updated 13 days ago

Definition

public PhysicsBody.BodyConstraints constraints { get; set; }