Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DestroyJointBatch(ReadOnlySpan<PhysicsJoint>)

Destroy a batch of joints. Any invalid joints will be ignored. Owned joints will produce a warning and will not be destroyed ( PhysicsJoint.SetOwner ).
Read time 1 minuteLast updated 13 days ago

Definition

public static void DestroyJointBatch(ReadOnlySpan<PhysicsJoint> joints)

Parameters

The joints to destroy.