C4 Engine
C4 Engine API Documentation

class RopeGeometryObject

Defined in:  C4Deformable.h
The RopeGeometryObject class encapsulates data pertaining to a rope primitive.
Definition

class RopeGeometryObject final : public PrimitiveGeometryObject

Member Functions
RopeGeometryObject::GetRopeLength Returns the rope length.
RopeGeometryObject::SetRopeLength Sets the rope length.
RopeGeometryObject::GetRopeRadius Returns the rope radius.
RopeGeometryObject::SetRopeRadius Sets the rope radius.
Constructor

RopeGeometryObject(float length, float radius, int32 count);

Parameters
length The length of the rope.
radius The radius of the rope.
count The number of point masses in the rope.
Description
Base Classes
PrimitiveGeometryObject A RopeGeometryObject is an object that can be shared by multiple rope geometry nodes.
See Also

RopeGeometry

RopeController