Files
gymkhana-actions/docs/api/TurnToCommand.md
Julian Murgia 0e6e8aa161 Re-implemented turn_to command (#390)
* Re-implemented turn_to command

Fixes #385
Fixed a bug in esc_movable blocking player_orients_on_arrival for ESCLocation nodes

* docs: Automatic update of API docs

* Fixes

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-09-09 22:57:03 +02:00

752 B

TurnToCommand

Extends: ESCBaseCommand < Node

Description

turn_to object object_to_face [immediate]

Turns object to face another object.

Set immediate to true to show directly switch to the direction and not show intermediate angles

@ESC

Method Descriptions

configure

func configure() -> ESCCommandArgumentDescriptor

Return the descriptor of the arguments of this command

validate

func validate(arguments: Array)

Validate wether the given arguments match the command descriptor

run

func run(command_params: Array) -> int

Run the command