Skip to content

Syntax not supported: lock var to heading A by B #2

@Dunbaratu

Description

@Dunbaratu

This syntax worked in previous versions of kOS:

LOCK someVar TO HEADING expr1 By expr2.
LOCK STEERING to someVar.

The expression "heading expr1 by expr2" doesn't seem to be recognized as valid syntax in this new version. What it used to do was create a Euler rotation pointing at compass heading expr1 pitched up expr2 degrees above the horizon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionNot necessarily a problem - Using a Github issue to have a public discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions