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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
deltaSeconds |
number |
Returns
Section titled “Returns”void