Torque3D Documentation / _generateds / afxPlayerMovementData

afxPlayerMovementData

consoledoc.h

A datablock that specifies a Player Movement effect.

More...

Public Attributes

Point3F

Possible values: add, multiply, or replace.

float

A floating-point multiplier that scales the constraint Player's movement speed.

Detailed Description

A datablock that specifies a Player Movement effect.

Player Movement effects are used to directly alter the speed and/or movement direction of Player objects. The Player Movement effect is similar to the Player Puppet effect, but where puppet effects totally take over a Player's transformation using the AFX constraint system, Player Movement effects 'steer' the player using the same mechanisms that allow Player control from mouse and keyboard input. Another difference is that Player Movement effects only influence the server instance of a Player. Puppet effects can influence both the Player's server instance and its client ghosts.

Public Attributes

Point3F movement 
afxPlayerMovement_OpType movementOp 

Possible values: add, multiply, or replace.

float speedBias 

A floating-point multiplier that scales the constraint Player's movement speed.