API ReferenceecsphysicssetWorldGravity()Sur cette pagesetWorldGravity() ecs.physics.setWorldGravity(world, gravity) Description Set the world gravity. Parameters ParameterTypeDescriptionworldworldworld referencegravitynumberGravity Returns None.