Requires two existing revolute or prismatic joints (any combination will work).
The provided joints must attach a dynamic body to a static body.
Namespace: Internal.tainicom.Aether.Physics2D.Dynamics.JointsAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic GearJoint(
Body bodyA,
Body bodyB,
Joint jointA,
Joint jointB,
float ratio = 1f
)
Parameters
- bodyA Body
- The first body
- bodyB Body
- The second body
- jointA Joint
- The first joint.
- jointB Joint
- The second joint.
- ratio Single (Optional)
- The ratio.
See Also