Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Joint3D¶
派生: ConeTwistJoint3D, Generic6DOFJoint3D, HingeJoint3D, PinJoint3D, SliderJoint3D
所有 3D 物理关节的抽象基类。
描述¶
3D 物理中所有关节的抽象基类。3D 关节能够将两个物理体绑定在一起并施加约束。
教程¶
属性¶
|
||
|
||
|
||
|
方法¶
get_rid ( ) const |
属性说明¶
bool exclude_nodes_from_collision = true
如果为 true
,则节点的两个主体无法相互碰撞。
NodePath node_a = NodePath("")
连接到关节第一侧(A)的节点。
NodePath node_b = NodePath("")
连接到关节第二侧(B)的节点。
int solver_priority = 1
用于定义哪个解算器在多个关节中被首先执行的优先级。数值越低,优先级越高。
方法说明¶
RID get_rid ( ) const
返回关节的 RID。