LHGearJointNode Reference

LHGearJointNode.lua

Overview

LHGearJointNode class is used to load a LevelHelper gear joint.

Conforms to:

LHNodeProtocol

LHJointsProtocol

Instance Methods

getConnectedJointA

local  getConnectedJointA()
Discussion

Get the first joint connected to this gear joint.

Declared In
LHGearJointNode.lua

getConnectedJointB

local  getConnectedJointB()
Discussion

Get the second joint connected to this gear joint.

Declared In
LHGearJointNode.lua

getRatio

local  getRatio()
Discussion

Get the joint ratio. A number value.

Declared In
LHGearJointNode.lua

setRatio

local  setRatio(value)
Parameters
value

A number value.

Discussion

Set the joint ratio.

Declared In
LHGearJointNode.lua
Last updated: 2015-3-15

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.