GrooveJoint2D
Hereda: Joint2D < Node2D < CanvasItem < Node < Object
A physics joint that restricts the movement of two 2D physics bodies to a fixed axis.
Descripción
A physics joint that restricts the movement of two 2D physics bodies to a fixed axis. For example, a StaticBody2D representing a piston base can be attached to a RigidBody2D representing the piston head, moving up and down.
Propiedades
|
||
|
Descripciones de Propiedades
La posición de anclaje inicial del cuerpo B definida por el origen de la junta y un desplazamiento local initial_offset a lo largo del eje Y de la junta (a lo largo de la ranura).
La longitud del surco. La ranura va desde el origen de la unión hacia length a lo largo del eje Y local de la unión.