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...
GrooveJoint2D
繼承: Joint2D < Node2D < CanvasItem < Node < Object
將兩個物理體的運動限制在某個固定軸上的物理關節。
說明
將兩個物理體的運動限制在某個固定軸上的物理關節。例如代表活塞基底的 StaticBody2D 可以附加至代表能夠上下移動的活塞頭的 RigidBody2D 之上。
屬性
|
||
|
屬性說明
這個物體B的初始錨點位置,由關鍵的原點和沿關節Y軸(沿著溝槽)的局部偏移 initial_offset 定義。
溝槽的長度。溝槽是從關鍵原點沿著關節局部 Y 軸朝向 length 。