Class: A_LookAt

b5. A_LookAt

b5.A_LookAt

new b5.A_LookAt(source, target, lower, upper){b5.A_LookAt}

actions/generic/movement.js, line 317

Action that turns an object to face another object, 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
source string | b5.Actor

Path to or instance of source object that will look at the target

target string | b5.Actor

Path to or instance of target object to look at

lower number

Optional lower limit angle

upper number

Optional upper limit angle

Returns:
Type Description
b5.A_LookAt The created action