Table of Contents

Component Physics

(NOTE) A gear connects two joints on two objects together. Either joint can be a prismatic or a revolute. A gear ratio is used to bind the two joints together. Limits, motors, and springs should not be used on this.

Methods Properties Base Classes Derived Classes
Constructor Constant joint
JointA
JointAPath
JointB
JointBPath
Ratio

Properties


Constant : real

The initial offset of the gear ratio.

var Constant : Real

JointA : cog

The joint connected to ObjectA that the gear operates on.

var JointA : Cog

JointAPath : cogpath

The joint connected to ObjectA that the gear operates on.

var JointAPath : CogPath

JointB : cog

The joint connected to ObjectB that the gear operates on.

var JointB : Cog

JointBPath : cogpath

The joint connected to ObjectB that the gear operates on.

var JointBPath : CogPath

Ratio : real

The gear ratio that the two constraints are bound with.

var Ratio : Real

Methods


GearJoint : Void

constructor

Name Type Description
function GearJoint()