implicit operator PhysicsJoint
Cast to the base PhysicsJoint.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Operator
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
implicit operator PhysicsJoint(PhysicsJoin)
Cast to the base PhysicsJoint.
public static implicit operator PhysicsJoint(PhysicsFixedJoint joint)
Parameters
The current joint.
Returns
Type | Description |
|---|---|
| PhysicsJoint |
implicit operator PhysicsFixedJoint(PhysicsFixedJoin)
Cast to a PhysicsFixedJoint from the base PhysicsJoint. The provided joint must be a joint type of PhysicsJoint.JointType.FixedJoint.
public static implicit operator PhysicsFixedJoint(PhysicsJoint joint)
Parameters
Returns
Type | Description |
|---|---|
| PhysicsFixedJoint |