DefaultControlParams interface
Signature:
export interface DefaultControlParams
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
{ idle: string; run: string; sprint: string; jump_idle: string; jump_walking: string; jump_sprinting: string; jump_running: string; falling: string; drop_idle: string; drop_walking: string; drop_walking_roll: string; drop_running: string; drop_running_roll: string; drop_sprinting: string; drop_sprinting_roll: string; walk: string; jump_double: string; } |
Animations to be used by the character | ||
boolean |
(Optional) whether to automatically apply the corresponding animation to the attached object This applies only when the attached object is an avatar component | ||
typeof DEFAULT_CC_OPTIONS |
(Optional) The character options for the kinematic character | ||
number |
(Optional) The gravity of the scene | ||
{ height?: number; duration?: number; airAcceleration?: number; hold?: boolean; max?: number; coyote?: number; maxFallSpeed?: number; peakSpeed?: number; delay?: number; } |
(Optional) Params to controls the jump of the character of the target object
| ||
{ speed?: number; boost?: number; accelerationFactor?: number; decelerationFactor?: number; } |
(Optional) Params to controls walking and running of the target object
|