orderBasesFirst
orderBasesFirst(
entities):void
Orders entities in place so each walker standing on another in the
list comes after it, and otherwise keeps their order: a movement that
moves several walkers in turn then moves a base before its rider, whose
move meets the base where it stands and is carried by it. A rider whose
base is not in the list, or two standing on each other, come last. As
Unreal ticks a movement base before what stands on it. The predicted
pass, updateEachPredicted, already orders its entities this way.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entities |
Entity[] |
Returns
Section titled “Returns”void