Documentation

Unity Engine

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 2 months ago

Definition

public PhysicsBody.BodyConstraints constraints { get; set; }