Selective applying gravity

Is it possible to apply gravity only on some meshes? I’m having two balls and trying to make one of them behave like it’s in weightlessness and another one behaves as usual. I need mass for both of them as I’m using applyImpulse to make them move. I tried to use physicsHelper.gravitationalField but it applies gravity on the point.

cc @RaananW and @Cedric

AFAIK, gravity is applied to every rigid bodies in the scene.
The only way I can think of, is to set gravity to 0 and then apply a force/impulse each frame on those you want.

3 Likes