Added a way to customize gravity on entities.
Added a way to prevent gravity to apply on attacks.