Skip to content

moveEntity

moveEntity(entity, deltaSeconds): void

Defined in: packages/engine/src/gameplay/entity/transform.ts:20

Moves one entity by its velocity over deltaSeconds: the rule every step moves an entity by, and the one a client’s replay repeats.

Parameter Type
entity Entity
deltaSeconds number

void