LHWheelJointNode Reference

Inherits from
  • CCNode
Conforms to
LHWheelJointNode.h

Overview

LHWheelJointNode class is used to load a LevelHelper wheel joint.

WARNING - Prismatic joint is not supported in Chipmunk.

When using Box2d it uses a b2WheelJoint.

Instance Methods

axis

- (CGPoint)axis
Discussion

Returns the axis on which this joint is moving.

Declared In
LHWheelJointNode.h

dampingRatio

- (CGFloat)dampingRatio
Discussion

Returns the damping ratio used on the joint.

Declared In
LHWheelJointNode.h

enableMotor

- (BOOL)enableMotor
Discussion

Returns whether or not the motor is enabled on the joint.

Declared In
LHWheelJointNode.h

frequency

- (CGFloat)frequency
Discussion

Returns the frequency used on the joint.

Declared In
LHWheelJointNode.h

maxMotorTorque

- (CGFloat)maxMotorTorque
Discussion

Returns the maximum motor torque.

Declared In
LHWheelJointNode.h

motorSpeed

- (CGFloat)motorSpeed
Discussion

Returns the motor speed in degrees.

Declared In
LHWheelJointNode.h
Last updated: 2015-2-12

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.