Contents

SushiEngine::Simulation::IWorldEditor

surface_heading_previous_up

virtual Vector3 surface_heading_previous_up(EntityId id) const =0

Parameters

NameTypeDescription
idEntityId

The entity to read.

Returns

Vector3

The previous local vertical; a zero vector if none is recorded.

Description

Returns the local vertical surface_heading_reference was last transported from.

See also

engine/world/simulation/include/EDITOR.md