VirtualBone
csharp
public sealed class VirtualBoneNamespace NodeWorld.Avatar.IK.
A bone of the solver: where it was read from the avatar and where the solver puts it.
Fields
readPosition
csharp
public Vector3 readPositionPosition read from the avatar this frame.
readRotation
csharp
public Quaternion readRotationRotation read from the avatar this frame.
solverPosition
csharp
public Vector3 solverPositionPosition the solver gives it.
solverRotation
csharp
public Quaternion solverRotationRotation the solver gives it.
localAxisToChild
csharp
public Vector3 localAxisToChildDirection to the next bone of the chain, in this bone's space.
length
csharp
public float lengthDistance to the next bone of the chain, in meters.
Constructors
VirtualBone
csharp
public VirtualBone(Vector3 position, Quaternion rotation)A bone read at this position and rotation.
Methods
Read
csharp
public void Read(Vector3 position, Quaternion rotation)Reads the bone's position and rotation, and resets the solver's to them.
