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] |
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.
agent | The agent owning this AvatarController |
deltaTime | Timestep 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.
agent | The agent owning this AvatarController |
deltaTime | Timestep in seconds |
Implements RAIN.Motion.AvatarController.