Create a rope object based on an existing rope in the world.
entity Id of rope.
Id of rope entity.
Get the length of the rope.
The rope length.
Sets the length of the rope.
Desired new length of rope.
The rope length.
Get the number of vertices on the rope.
Returns the number of vertices.
Activates world physics on the rope object.
Attach the rope between two entities at given locations on the entities.
The first entity to attach to.
Where on the first entity to attach the rope to.
The second entity to attach to.
Where on the second entity to attach the rope to.
The desired length of the rope between the two entities.
Delete the rope from the world. This does not delete the rope object.
Detach the rope from an entity.
Entity to detach the rope from.
Check if the rope still exists in the world based on it's handle.
Whether the rope exists or not.
Return the world location of a specified vertex on the rope.
Vertex to get location from.
The vector location of the vertex.
Pin a vertex of the rope to a certain location.
Vertex to pin.
Location to pin the vertex to.
Resets the length of the rope to it's length upon object creation or a length of 1.
Whether to reset the length to it's original length or 1.
Unpin a specified vertex from it's current pinned location (if any).
Vertex to unpin.
Generated using TypeDoc
Class to manage invisible ropes between entities.