Skip to main content

UltimateRope.RopeBone

A class in Root.Township, the global namespace.

One imported bone of a skinned rope in the third-party Ultimate Rope asset, with what the rope added to it and its original transform so it can be put back.

Constructors​

MemberWhat it is
RopeBone()Creates an UltimateRope.RopeBone with default values.

Fields​

MemberWhat it is
bool bCreatedColliderTrue if the rope added the collider, so it is removed again on cleanup.
bool bCreatedRigidbodyTrue if the rope added the rigidbody, so it is removed again on cleanup.
bool bIsStaticWhether the bone stays fixed under its non-bone parent instead of moving with the rope.
float fLengthLength of the bone, used to size its collider.
GameObject goBoneThe bone object.
int nOriginalLayerLayer the bone had before the rope changed it.
Quaternion qOriginalLocalRotOriginal local rotation.
Transform tfNonBoneParentThe first parent of the bone that isn't itself a bone.
Transform tfParentThe bone's original parent.
Vector3 v3OriginalLocalPosOriginal local position.
Vector3 v3OriginalLocalScaleOriginal local scale.

Used in​

Members of other types that take, return or hold a RopeBone: