Contents

SushiEngine::Simulation::IWorldEditor

set_entity_frame

virtual void set_entity_frame(EntityId id, const EntityFrame &frame)=0

Parameters

NameTypeDescription
idEntityId

The entity to update.

frameconst EntityFrame &

The reference body and interpretation mode.

Description

Sets the entity's reference frame (body + mode).

See also

engine/world/simulation/include/EDITOR.md