Avatar Controller


AvatarController is the component that transfers the Kinect-captured user motion to the humanoid model, whose component it is.



Property:
Description:

Player Index

Index of the player, tracked by this component. 0 means the 1st player, 1 - the 2nd one, 2 - the 3rd one, etc.

Mirrored Movement

Whether the avatar is facing the player or not.

Vertical Movement

Whether the avatar is allowed to move vertically or not.

Horizontal Movement

Whether the avatar is allowed to move horizontally or not.

External Root Motion

Whether the avatar's root motion is applied by other component or script.

External Head Rotation

Whether the head rotation is controlled externally (e.g. by VR-headset).

External Hand Rotation

Whether the hand and finger rotations are controlled externally (e.g. by LeapMotion controller).

Finger Orientations

Whether the finger orientations are allowed or not.

Move Rate

Rate at which the avatar will move through the scene.

Smooth Factor

Smooth factor used for avatar movements and joint rotations.

Offset Node

Game object this transform is relative to (optional).

Pos Relative to Camera

If enabled, makes the avatar position relative to this camera to be the same as the player's position to the sensor.

Pos Rel Overlay Color

Whether the avatar's position should match the color image (in Pos-rel-to-camera mode only).

Grounded Feet

Whether the avatar's feet must stick to the ground.

Apply Muscle Limits

Whether to apply the humanoid model's muscle limits or not.

Flip Left Right

Whether to flip left and right, relative to the sensor.

Horizontal Offset

Horizontal offset of the avatar's position with respect to the position of user's spine-base.

Vertical Offset

Vertical offset of the avatar's position with respect to the position of user's spine-base.

Forward Offset

Forward offset of the avatar's position with respect to the position of user's spine-base.


See also the documentation regarding the public API of this component.