SushiEngine::Simulation::IWorldEditor
resolved_reference_body
virtual int resolved_reference_body(EntityId id) const noexcept=0Parameters
| Name | Type | Description |
|---|---|---|
id | EntityId | The entity to read. |
Returns
int
The resolved celestial body index, or -1 when the entity names no body and the scene has no primary body (nothing drives its orientation).
Description
Returns the body the entity's frame resolves against this step.
See also
engine/world/simulation/include/EDITOR.md

