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
Fields
| Member | What it is |
|---|
bool bCreatedCollider | True if the rope added the collider, so it is removed again on cleanup. |
bool bCreatedRigidbody | True if the rope added the rigidbody, so it is removed again on cleanup. |
bool bIsStatic | Whether the bone stays fixed under its non-bone parent instead of moving with the rope. |
float fLength | Length of the bone, used to size its collider. |
GameObject goBone | The bone object. |
int nOriginalLayer | Layer the bone had before the rope changed it. |
Quaternion qOriginalLocalRot | Original local rotation. |
Transform tfNonBoneParent | The first parent of the bone that isn't itself a bone. |
Transform tfParent | The bone's original parent. |
Vector3 v3OriginalLocalPos | Original local position. |
Vector3 v3OriginalLocalScale | Original local scale. |
Used in
Members of other types that take, return or hold a RopeBone: