SpringJoint 弹簧关节

Inherits from Joint

The spring joint ties together 2 rigid bodies, spring forces will be automatically applied to keep the object at the given distance.

弹性关节连接两个刚体,弹簧力将自动应用以便保持物体在给定的距离。

The Spring attempts to maintain the distance it has when it starts out. So if your joint's start at a rest position where the two rigidbodies are far apart, then the joint will attempt to maintain that distance. The minDistance and maxDistance properties add on top of this implicit distance.

当它已经开始,弹簧试图维持这个距离,因此如果你的关节开始于一个静止位置,两个刚体相距甚远,那么这个关节将试图维持这个距离。minDistance和maxDistance属性添加在这个隐式距离的顶部。

Variables变量

Inherited members继承成员

Inherited Variables继承变量

Inherited Functions继承函数