get_gravity

motion.get_gravity() → Gravity

Returns a tuple with information about gravity (x, y, z).

Return type:

Gravity