Platformercontrolswrapperparams

PlatformerControlsWrapperParams interface

Signature:

export interface PlatformerControlsWrapperParams 

Properties

Property

Modifiers

Type

Description

autoAnimate?

boolean

(Optional) whether to automatically apply the corresponding animation to the attached object This applies only when the attached object is an avatar component

jump?

PCJumpParams

(Optional) Params to controls the jump of the character of the target object

  • height: the height of the jump

  • duration: the duration of the jump

run?

PCRunParams

(Optional) Params to controls walking and running of the target object

  • maxSpeed : the walking speed of the character

  • boost: how much to speedup the character when running, this is activated when the user presses the shift key