NodeWorld

LocomotionClipSet

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 LocomotionClipSet : ScriptableObject

Namespace NodeWorld.Avatar.Locomotion.

The humanoid clips the local avatar plays when the player moves, as the locomotion layer of VRChat. In every moving clip the left foot lands at the start of the cycle and the right foot at the middle, so the directions blend without the feet crossing. Speeds are in human scales per second at playback rate 1: times Animator.humanScale, they are metres per second on any avatar.

Fields

Idle

csharp
public AnimationClip Idle

Standing still.

WalkForward

csharp
public AnimationClip WalkForward

Walking forward (played in reverse to walk backward).

WalkLeft

csharp
public AnimationClip WalkLeft

Walking to the left.

WalkRight

csharp
public AnimationClip WalkRight

Walking to the right.

RunForward

csharp
public AnimationClip RunForward

Running forward.

Sit

csharp
public AnimationClip Sit

The pose of a seated player.

WalkForwardSpeed

csharp
public float WalkForwardSpeed

The speed the forward walk clip was made for, in meters per second.

WalkSideSpeed

csharp
public float WalkSideSpeed

The speed the side walk clips were made for, in meters per second.

RunForwardSpeed

csharp
public float RunForwardSpeed

The speed the run clip was made for, in meters per second.

WalkForwardToeOff

csharp
public float WalkForwardToeOff

The phase where the left foot leaves the ground in the forward walk.

Properties

IsComplete

csharp
public bool IsComplete { get; }

Every clip is set.