Contents

SushiEngine::Simulation::IWorldEditor

surface_heading_compass_degrees

virtual Scalar surface_heading_compass_degrees(EntityId id) const =0

Parameters

NameTypeDescription
idEntityId

The entity to read.

Returns

Scalar

Degrees in [0, 360), clockwise from north; 0 if not surface-bound.

Description

Returns the entity's carried heading reference as a compass bearing.

See also

engine/world/simulation/include/EDITOR.md