public void Run(EcsSystems systems) { var gravity = gameplayData.Gravity; foreach (var entity in bodies) { ref var rigidBody = ref rigidBodies.Get(entity); var gravityForce = gravity * rigidBody.Mass; Velocity.ApplyForceLinear(ref velocities.Get(entity), gravityForce); }