LHWheelJointNode Reference

LHWheelJointNode.lua

Overview

LHWheelJointNode class is used to load a LevelHelper wheel joint.

Conforms to:

LHNodeProtocol

LHJointsProtocol

Instance Methods

getAxis

local  getAxis()
Discussion

Returns the joint movement axis. A point value. Table with "x" and "y" keys.

Declared In
LHWheelJointNode.lua

getIsMotorEnabled

local  getIsMotorEnabled()
Discussion

Returns whether or not the motor is enabled on the joint. A boolean value.

Declared In
LHWheelJointNode.lua

getMaxMotorTorque

local  getMaxMotorTorque()
Discussion

Returns the maximum motor torque. A number value.

Declared In
LHWheelJointNode.lua

getMotorSpeed

local  getMotorSpeed()
Discussion

Returns the motor speed. A number value.

Declared In
LHWheelJointNode.lua

getSpringDampingRatio

local  getSpringDampingRatio()
Discussion

Get the joint damping ratio. A number value.

Declared In
LHWheelJointNode.lua

getSpringFrequency

local  getSpringFrequency()
Discussion

Get the joint frequency. A number value.

Declared In
LHWheelJointNode.lua

setIsMotorEnabled

local  setIsMotorEnabled(value)
Parameters
value

A boolean value.

Discussion

Enable or disable motor on the joint.

Declared In
LHWheelJointNode.lua

setMaxMotorTorque

local  setMaxMotorTorque(value)
Parameters
value

A number value.

Discussion

sets the max. motor torque on the joint.

Declared In
LHWheelJointNode.lua

setMotorSpeed

local  setMotorSpeed(value)
Parameters
value

A number value.

Discussion

Sets the motor speed

Declared In
LHWheelJointNode.lua

setSpringDampingRatio

local  setSpringDampingRatio(value)
Parameters
value

A number value.

Discussion

Set the joint damping ratio.

Declared In
LHWheelJointNode.lua

setSpringFrequency

local  setSpringFrequency(value)
Parameters
value

A number value.

Discussion

Set the joint frequency.

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

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.