Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SendJointThresholdCallbacks()

Send all current _jointThresholdEvents where the PhysicsJoint involved are valid (see _isValid ) and have a callback target assigned (see _callbackTarget ). These events will only be created if the joint exceeds its _forceThreshold or _torqueThreshold. Only callback targets that implement PhysicsCallbacks.IJointThresholdCallback will be called. This will be called automatically if _autoJointThresholdCallbacks is true. This must be called on the main thread.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public void SendJointThresholdCallbacks()