Class: A_CamGravity

b5. A_CamGravity


new b5.A_CamGravity(target, gravity_x, gravity_y){b5.A_CamGravity}

actions/generic/camera.js, line 78

Action that applies gravity to a scene camera, does not exit

Created actions should be added to an actor or scenes actions list to be processed

For a complete overview of Actions see Booty5 Actions Overview

Name Type Description
target string | b5.Scene

Path to or instance of target scene that contains camera

gravity_x number

Gravity strength on x-axis

gravity_y number

Gravity strength on y-axis

Type Description
b5.A_CamGravity The created action