SushiEngine::Simulation::IWorldEditor
surface_local_orientation
virtual Quaternion surface_local_orientation(EntityId id) const =0Parameters
| Name | Type |
|---|---|
id | EntityId |
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.

