Monty.Frameworks.Actions.OrientHorizontal (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

Move in the horizontal plane and turn to face where it went.

Mirrors tbp/monty/frameworks/actions/actions.py::OrientHorizontal, one action rather than two because the move and the turn happen together: a body that slid sideways without turning would be looking at what it left behind.

Summary

Types

t()

@type t() :: %Monty.Frameworks.Actions.OrientHorizontal{
  agent_id: atom() | String.t(),
  forward_distance: float(),
  left_distance: float(),
  rotation_degrees: float()
}