RAIN.Motion.AIMixamoAnimationController Class Reference
Inheritance diagram for RAIN.Motion.AIMixamoAnimationController:
RAIN.Motion.AvatarController

List of all members.

Classes

class  AnimationMap

Public Member Functions

void Start ()
override void UpdateFromAvatar (Agent agent, float deltaTime)
 UpdateFromAvatar updates the agent Kinematic structure with the current values associated with the Avatar game object. This should happen as one of the first steps in calculating physics for an Agent.
override void CalculatePhysics (Agent agent, float deltaTime)
 CalculatePhysics recalculates kinematic values (position, orientation, velocity, rotation) based on stored forces. The agent Kinematic will be updated, but will not yet be applied to any associated avatar.
override void ApplyPhysicsToAvatar (Agent agent, float deltaTime)
 ApplyPhysicsToAvatar applies physical forces back to the game object representing the agent Avatar.

Public Attributes

string idleAnimation
int idleSyncLayer
AnimationMap[] animationMap = new AnimationMap[0]

Member Function Documentation

override void RAIN.Motion.AIMixamoAnimationController.ApplyPhysicsToAvatar ( Agent  agent,
float  deltaTime 
) [virtual]

ApplyPhysicsToAvatar applies physical forces back to the game object representing the agent Avatar.

Implements RAIN.Motion.AvatarController.

override void RAIN.Motion.AIMixamoAnimationController.CalculatePhysics ( Agent  agent,
float  deltaTime 
) [virtual]

CalculatePhysics recalculates kinematic values (position, orientation, velocity, rotation) based on stored forces. The agent Kinematic will be updated, but will not yet be applied to any associated avatar.

Parameters:
agentThe agent owning this AvatarController
deltaTimeTimestep in seconds

Implements RAIN.Motion.AvatarController.

override void RAIN.Motion.AIMixamoAnimationController.UpdateFromAvatar ( Agent  agent,
float  deltaTime 
) [virtual]

UpdateFromAvatar updates the agent Kinematic structure with the current values associated with the Avatar game object. This should happen as one of the first steps in calculating physics for an Agent.

Parameters:
agentThe agent owning this AvatarController
deltaTimeTimestep in seconds

Implements RAIN.Motion.AvatarController.