LHRevoluteJointNode Reference

Inherits from
Conforms to
LHRevoluteJointNode.h

Overview

LHRevoluteJointNode class is used to load a LevelHelper revolute joint. The equivalent in SpriteKit is a SKPhysicsJointPin joint object, which is a wrapper over Box2d 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.