Documentation

Unity Engine


User Manual

Script Reference

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 12 days ago

Definition

public PhysicsBody.BodyConstraints constraints { readonly get; set; }