Custom gravity for player and object

I have a player object which uses the gravity variable set in the physics properties from the game config.

I want to make falling objects which the player could catch. I have already created a new object which extends Phaser.GameObjects.Sprite, but I am struggling to set a custom gravity for it. (I want it to increase over time to make the objects harder to catch). So far they accelerate too quickly using the gravity from physics properties or stop altogether when I use body.setAllowGravity(false);

Any ideas on how to make custom gravity/acceleration for different objects?

if the game has a timer or after you catch a certain amount of these falling objects you can write an if statement that increases the gravity hope that helps

Try adding the velocity to the game object

gameobject.body.velocity.setTo(x, y);

and try to increase the value with each gameobject cought