LHDistanceJointNode Reference

Inherits from
  • CCNode
Conforms to
LHDistanceJointNode.h

Overview

LHDistanceJointNode class is used to load a LevelHelper distance joint.

When using Cocos2d/Chipmunk it uses a CCPhysicsSlideJoint joint.

When using Box2d it uses a b2DistanceJoint object.

Instance Methods

damping

- (CGFloat)damping
Discussion

Returns the damping ratio of the joint.

Declared In
LHDistanceJointNode.h

frequency

- (CGFloat)frequency
Discussion

Returns the frequency of the joint.

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

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.