Additional PinSlotJoint 2D implementation with DOF: 1 translation + 1 rotation (#775)

* Additional groove joint 2D implementation with 1 translation + 1 rotation

* Conditional import for 2d feature flag

* Groove joint 2d tests in testbed examples

* Renamed GrooveJoint to PinSlotJoint

* cargo fmt

* Cross-reference to groove joint in Godot engine
This commit is contained in:
legendofa
2025-11-14 19:00:36 +09:00
committed by GitHub
parent eb62d2f5c7
commit 5f687b0d29
5 changed files with 368 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ pub use self::generic_joint::*;
pub use self::impulse_joint::*;
pub use self::motor_model::MotorModel;
pub use self::multibody_joint::*;
pub use self::pin_slot_joint::*;
pub use self::prismatic_joint::*;
pub use self::revolute_joint::*;
pub use self::rope_joint::*;
@@ -16,6 +17,7 @@ mod generic_joint;
mod impulse_joint;
mod motor_model;
mod multibody_joint;
mod pin_slot_joint;
mod prismatic_joint;
mod revolute_joint;
mod rope_joint;