Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

PhysicsJoint.CreateJoint

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Parameters

Parameter Description
world The world to create the joint in.
definition The joint definition to use.

Returns

PhysicsDistanceJoint The created joint.

Description

Create a PhysicsDistanceJoint in the world. See PhysicsDistanceJoint.Create.


Parameters

Parameter Description
world The world to create the joint in.
definition The joint definition to use.

Returns

PhysicsRelativeJoint The created joint.

Description

Create a PhysicsRelativeJoint in the world. See PhysicsRelativeJoint.Create.


Parameters

Parameter Description
world The world to create the joint in.
definition The joint definition to use.

Returns

PhysicsIgnoreJoint The created joint.

Description

Create an IgnoreJoint in the world. See PhysicsIgnoreJoint.Create.


Parameters

Parameter Description
world The world to create the joint in.
definition The joint definition to use.

Returns

PhysicsSliderJoint The created joint.

Description

Create a SliderJoint in the world. See PhysicsSliderJoint.Create.


Parameters

Parameter Description
world The world to create the joint in.
definition The joint definition to use.

Returns

PhysicsHingeJoint The created joint.

Description

Create a PhysicsHingeJoint in the world. See PhysicsHingeJoint.Create.


Parameters

Parameter Description
world The world to create the joint in.
definition The joint definition to use.

Returns

PhysicsFixedJoint The created joint.

Description

Create a FixedJoint in the world. See PhysicsFixedJoint.Create.


Parameters

Parameter Description
world The world to create the joint in.
definition The joint definition to use.

Returns

PhysicsWheelJoint The created joint.

Description

Create a WheelJoint in the world. See PhysicsWheelJoint.Create.