LHPrismaticJointNode Reference

Inherits from
  • CCNode
Conforms to
LHPrismaticJointNode.h

Overview

LHPrismaticJointNode class is used to load a LevelHelper prismatic joint.

WARNING - Prismatic joint is not supported in Chipmunk.

When using Box2d it uses a b2PrismaticJoint.

Instance Methods

axis

- (CGPoint)axis
Discussion

Returns the axis on which this joint is moving.

Declared In
LHPrismaticJointNode.h

enableLimit

- (BOOL)enableLimit
Discussion

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

Declared In
LHPrismaticJointNode.h

enableMotor

- (BOOL)enableMotor
Discussion

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

Declared In
LHPrismaticJointNode.h

lowerTranslation

- (CGFloat)lowerTranslation
Discussion

Returns the lower translation limit.

Declared In
LHPrismaticJointNode.h

maxMotorForce

- (CGFloat)maxMotorForce
Discussion

Returns the maximum motor force.

Declared In
LHPrismaticJointNode.h

motorSpeed

- (CGFloat)motorSpeed
Discussion

Returns the motor speed in degrees.

Declared In
LHPrismaticJointNode.h

upperTranslation

- (CGFloat)upperTranslation
Discussion

Returns the upper translation limit.

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

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.