Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsFixedJoint

Create a joint from a physics handle. NOTE: You must ensure that the physics handle represents the correct object type otherwise hard to detect bugs can occur.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Constructor
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule

PhysicsFixedJoint(PhysicsHandle)

Create a joint from a physics handle.
NOTE: You must ensure that the physics handle represents the correct object type otherwise hard to detect bugs can occur.
public PhysicsFixedJoint(PhysicsHandle physicsHandle)

Parameters

physicsHandle

The physics handle to use.

PhysicsFixedJoint(PhysicsJoint)

Create a PhysicsFixedJoint from the specified base joint. The provided joint must be a joint type of PhysicsJoint.JointType.FixedJoint.
public PhysicsFixedJoint(PhysicsJoint physicsJoint)

Parameters

physicsJoint

The base joint to cast.