Contents

SushiEngine::Simulation::IWorldEditor

set_world_transform

virtual void set_world_transform(EntityId id, const EntityTransform &world)=0

Parameters

NameTypeDescription
idEntityId

Entity to update.

worldconst EntityTransform &

The new world transform.

Description

Sets the entity's world transform by recomputing its local transform.