Files
gymkhana-actions/docs/api/TurnToCommand.md
Dennis Ploeger df78b52b8a feat: This enables user-defined transition and uses a tween to animate the transitions (#405)
* feat: This enables user-defined transition and uses a tween to animate the transitions

fixes #344

* docs: Automatic update of API docs

* docs: Automatic update of API docs

Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-09-28 11:30:40 +02:00

776 B

TurnToCommand

Extends: ESCBaseCommand < Node

Description

turn_to object object_to_face [wait]

Turns object to face another object.

The wait parameter sets how long to wait for each intermediate angle. It defaults to 0, meaning the turnaround is immediate.

@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