LHDistanceJointNode Reference

Inherits from
Conforms to
LHDistanceJointNode.h

Overview

LHDistanceJointNode class is used to load a LevelHelper distance joint. The equivalent in SpriteKit is a SKPhysicsJointSpring joint object, which is a wrapper over Box2d b2DistanceJoint.

Instance Methods

damping

- (CGFloat)damping
Discussion

Returns the damping ratio of the SpriteKit joint.

Declared In
LHDistanceJointNode.h

frequency

- (CGFloat)frequency
Discussion

Returns the frequency of the SpriteKit joint.

Declared In
LHDistanceJointNode.h

removeFromParent

- (void)removeFromParent
Discussion

Removes the joint from the world.

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

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.