Contents

SushiEngine::Simulation::IWorldEditor

surface_local_orientation

virtual Quaternion surface_local_orientation(EntityId id) const =0

Parameters

NameType
idEntityId

Returns

Quaternion

Description

The entity's ground-local orientation (identity if not anchored).

The orientation relative to the local tangent frame — what the entity faces on the ground, independent of where on the planet it stands. The scene-frame orientation the renderer sees is this composed with the tangent frame; see surface_anchored.