LHRopeJointNode Reference

Inherits from
LHRopeJointNode.h

Instance Methods

canBeCut

- (bool)canBeCut
Discussion

Returns whether or not this rope joint can be cut.

Declared In
LHRopeJointNode.h

cutWithLineFromPointA

- (void)cutWithLineFromPointA
Parameters
ptA

The start point of the line used to cut the rope. In scene coordinates.

ptB

The end point of the line used to cut the rope. In scene coordinates.

Discussion

If the line described by ptA and ptB intersects with the rope joint, the rope will be cut in two. This method ignores "canBeCut".

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

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.