typecast variables moveSpeed turnSpeed jumpForce and jumpGravity to float to allow for decimal representations