Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SendJointThresholdCallbacks()

Send all current PhysicsWorld.jointThresholdEvents where the PhysicsJoint involved are valid (see PhysicsJoint.isValid ) and have a callback target assigned (see PhysicsJoint.callbackTarget ). These events will only be created if the joint exceeds its PhysicsJoint.forceThreshold or PhysicsJoint.torqueThreshold. Only callback targets that implement PhysicsCallbacks.IJointThresholdCallback will be called. This will be called automatically if PhysicsWorld.autoJointThresholdCallbacks is true. This must be called on the main thread.
Read time 1 minuteLast updated 10 days ago

Definition

public void SendJointThresholdCallbacks()