Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


implicit operator PhysicsJoint

Cast to the base PhysicsJoint.
Read time 1 minuteLast updated 13 days ago

Definition

implicit operator PhysicsJoint(PhysicsJoin)

Cast to the base PhysicsJoint.
public static implicit operator PhysicsJoint(PhysicsRelativeJoint joint)

Parameters

The current joint.

Returns

Type

Description

PhysicsJoint

implicit operator PhysicsRelativeJoint(PhysicsRelativeJoin)

Cast to a PhysicsRelativeJoint from the base PhysicsJoint. The provided joint must be a joint type of PhysicsJoint.JointType.RelativeJoint.
public static implicit operator PhysicsRelativeJoint(PhysicsJoint joint)

Parameters

Returns

Type

Description

PhysicsRelativeJoint