NodeWorld

FullBodyVrPoseImpulse

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 FullBodyVrPoseImpulse : MonoBehaviour

Namespace NodeWorld.Avatar.IK.

Pushes the body of the avatar for a moment, as a hit would, then lets it come back.

Fields

ik

csharp
public FullBodyVrIkComponent ik

The IK component of the avatar.

decay

csharp
public AnimationCurve decay

How the push fades over its time (time 0 to 1, weight).

Methods

AddImpulse

csharp
public void AddImpulse(Vector3 worldForce, float forceMultiplier)

Pushes the body along worldForce, times forceMultiplier.