Contents

SushiEngine::Simulation::IWorldEditor

set_frame_local_transform

virtual void set_frame_local_transform(EntityId id, const EntityTransform &local, PlacementIntent intent=PlacementIntent::ContinuedMotion)=0

Parameters

NameTypeDescription
idEntityId

The entity to update.

localconst EntityTransform &

The transform expressed in the entity's reference frame.

intentPlacementIntent

Whether the pose continues a motion the entity underwent or jumps it to a place it has no path to. Read in Surface mode only.

Description

Writes the entity's scene transform from a frame-local one.

See also

engine/world/simulation/include/EDITOR.md