Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Create a configurable joint

Create a configurable custom joint that has fine controls for constricting motion and specifying driving forces.
Read time 1 minuteLast updated 20 days ago

To create a custom configurable joint and have fine control over behavior, you can use the Configurable Joint. You can also use the Configurable Joint to implement physics forces that drive a GameObject to a specific target velocity or position.

Topic

Description

Customize movement constraint with Configurable JointsUse a custom joint to add limits to a GameObject’s movement or rotation, and configure how bouncy or elastic that limit is.
Driving forces with Configurable JointsUse a custom joint to define the driving linear and rotational forces on a GameObject.
Configure driving forces on a Configurable JointUse the Configurable Joint to create custom targets and driving forces.
Configurable Joint component referenceProperty reference for the Configurable Joint component.
Because the Configurable Joint has a lot of configuration options, you might need to experiment and iterate with values to get the joint to behave exactly the way you want.