FullBodyVrIkComponent
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
csharp
public sealed class FullBodyVrIkComponent : MonoBehaviourNamespace NodeWorld.Avatar.IK.
Runs the full-body IK solver on an avatar every frame.
Fields
fixTransforms
csharp
public bool fixTransformsPuts the bones back to their default local pose before the animator runs.
Properties
References
csharp
public HumanoidReferences References { get; }The bones the solver drives.
Solver
csharp
public FullBodyVrSolver Solver { get; }The solver.
IsReady
csharp
public bool IsReady { get; }The solver is initialized.
Methods
Initialize
csharp
public void Initialize(HumanoidReferences newReferences)Starts the solver on newReferences.
ResetPoseState
csharp
public void ResetPoseState()Restarts the solver from the avatar's current pose.
AddPlatformMotion
csharp
public void AddPlatformMotion(Vector3 deltaPosition, Quaternion deltaRotation, Vector3 pivot)Moves the planted feet with a moving platform.
Events
BeforeSolve
csharp
public event Action BeforeSolveRaised before each solve.
AfterSolve
csharp
public event Action AfterSolveRaised after each solve.
