new b5.A_CamFollowPathVel(target, path, start, speed, catchup_speed){b5.A_CamFollowPathVel}
actions/generic/camera.js, line 332
Action that causes scene camera to follow a path using velocity, 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 |
catchup_speed |
number |
Speed at which object catches up with path target modes |
Returns:
Type | Description |
---|---|
b5.A_CamFollowPathVel | The created action |