LHRevoluteJointNode Reference

Inherits from
  • CCNode
Conforms to
LHRevoluteJointNode.h

Overview

LHRevoluteJointNode class is used to load a LevelHelper revolute joint.

WARNING - Revolute joint is not supported in Chipmunk.

When using Box2d it uses a b2RevoluteJoint.

Instance Methods

enableLimit

- (BOOL)enableLimit
Discussion

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

Declared In
LHRevoluteJointNode.h

enableMotor

- (BOOL)enableMotor
Discussion

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

Declared In
LHRevoluteJointNode.h

lowerAngle

- (CGFloat)lowerAngle
Discussion

Returns the lower angle limit

Declared In
LHRevoluteJointNode.h

maxMotorTorque

- (CGFloat)maxMotorTorque
Discussion

Returns the maximum motor torque

Declared In
LHRevoluteJointNode.h

motorSpeed

- (CGFloat)motorSpeed
Discussion

Returns the motor speed.

Declared In
LHRevoluteJointNode.h

upperAngle

- (CGFloat)upperAngle
Discussion

Returns the upper angle limit

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

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.