Documentation

Unity Engine

Unity Engine

constraints

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 { readonly get; set; }