LHPulleyJointNode Reference

LHPulleyJointNode.lua

Overview

LHPulleyJointNode class is used to load a LevelHelper pulley joint.

Conforms to:

LHNodeProtocol

LHJointsProtocol

Instance Methods

getGroundAnchorA

local  getGroundAnchorA()
Discussion

Returns the first ground anchor point. In scene coordinates. A point value, e.g {x=100, y=100}

Declared In
LHPulleyJointNode.lua

getGroundAnchorB

local  getGroundAnchorB()
Discussion

Returns the second ground anchor point. In scene coordinates. A point value, e.g {x=100, y=100}

Declared In
LHPulleyJointNode.lua

getRatio

local  getRatio()
Discussion

Returns the ratio of this joint node. A number value.

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

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.