Skip to main content

Function: createTransformEcsSystem()

createTransformEcsSystem(): TransformSystem

Defined in: common/systems/transform-system.ts:181

Creates a system that computes the world position, rotation and scale of every entity from its local transform and, if it has a ParentEcsComponent, its parent's world transform.

Entities (and their entire parent chain) with PositionEcsComponent.isStatic set to true have their world transform computed once and then skipped on every subsequent frame.

Returns

TransformSystem

The transform ECS system.