Class: A_CamFollowPath

b5. A_CamFollowPath


new b5.A_CamFollowPath(target, path, start, speed){b5.A_CamFollowPath}

actions/generic/camera.js, line 254

Action that causes scene camera to follow a target, 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 scene that contains camera that will follow the target

path Array.<object>

Path to follow, array of x,y values that define the path, e.g. [x1,y1,x2,y2,etc..]

start number

Distance to start along the path

speed number

Speed at which to travel down the path

Type Description
b5.A_CamFollowPath The created action