forgot to mention clearing the moveamounts
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
9af2d23569
commit
112bf56c88
|
@ -83,6 +83,9 @@ Next, in a separate block, let's consolidate our MotionMessages per Entity.
|
|||
|
||||
...
|
||||
|
||||
_spatialHash.Clear();
|
||||
_moveAmounts.Clear();
|
||||
|
||||
foreach (var entity in TrackedEntities)
|
||||
{
|
||||
...
|
||||
|
@ -235,7 +238,7 @@ Now, in the final block of our **MotionEngine**, we can perform our collision te
|
|||
{
|
||||
...
|
||||
}
|
||||
|
||||
|
||||
foreach (ref readonly var entity in ReadEntities<PositionComponent>())
|
||||
{
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue