FullBodyVrOffsetModifier
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
csharp
public abstract class FullBodyVrOffsetModifier : MonoBehaviourNamespace NodeWorld.Avatar.IK.
Base of the components that add offsets to the IK's body parts each frame, before it solves.
Fields
weight
csharp
public float weightHow much of the offset is applied (0 to 1).
ik
csharp
public FullBodyVrIkComponent ikThe IK component of the avatar.
Properties
DeltaTime
csharp
protected float DeltaTime { get; }Time since the last offset, in seconds.
Methods
ModifyOffset
csharp
protected abstract void ModifyOffset()Adds this frame's offsets to the solver (called before each solve).
Start
csharp
protected virtual void Start()Hooks the modifier to the IK's BeforeSolve.
OnDestroy
csharp
protected virtual void OnDestroy()Unhooks the modifier from the IK.
