Pump Prefab Constructor

The Pump Prefab Constructor component is used to perform a pump action.

Constructor Properties

Property

Type

Description

Pumps To Perform

Integer

How many pumps to the prefab needs for completion

Pump Mode

PumpMode

FullPump: On trigger button clicked, HalfPump: On Trigger button down

Pause Animation On Perform

Boolean

True: The animation will lock in last frame when performed, False: The animation will return to initial position

Vibration

Float

Adds continuous vibration when trigger button pressed

Reverse Animation

Boolean

Plays the animation in reverse (instead of recording a new one)

Play Sound

Boolean

Plays sound when the trigger button is pressed (Better results with short clips)

Continuous

Boolean

For continuous interaction (time)

Press Trigger

Boolean

For continuous interaction only. Specifies if the animation plays automatically or when trigger is pressed.

Enable Range Mode

Boolean

Enable the functionality to perform between two values of the input percentage of the trigger

Low End To Perform

Float

Define the low percentage that above this value will perform after remaining for stayTime seconds

High End To Perform

Float

Define the high percentage that above this value will perform after remaining for stayTime seconds

Stay Time

Float

Define how much time the trigger needs to stay within the low and high values to perform

Right Hand Animation

Animation Asset

Animation to play when interacting with the right hand and pressing the trigger button

Left Hand Animation

Animation Asset

Animation to play when interacting with the left hand and pressing the trigger button

External Actor Label

String

The actor that contains the external skeletal mesh component. This animation will share the same progress as the action.