Added GameObject variable useGravity