PhysX Distance Joint Component

The PhysX distance joint component is a joint that links two actors such that they will keep a minimum and maximum distance. If the actors come closer than the minimum distance, they will repell each other, if they get farther apart than the maximum distance, they will attract each other. The distance constraint can be either hard, meaning it can never be violated, or soft, meaning when it is violated, a spring with a certain stiffness becomes active to try to push or pull the involved actors back to the desired distance.

The distance joint can be used to fake the behavior of chains and ropes, if no proper simulation and visualization of those is needed.

Component Properties

See Also