Applying velocity and/or gravity to physics particles

when you create a physics particle using the following

physics_particle_create(flags, x, y, xv, yv, col, alpha, category)

you can apply a velocity to the particles through xv and yv.

if, after a particle is created, i wanted to further apply a velocity to it, how would i go about doing so?

i know how to pull the data from individual particles using a buffer and physics_particle_get_data but i dont see a way to manipulate the velocity after it is created.

im trying to figure out how to apply gravity to particles without making use of the prebuilt in room setting and although i can pull data from a particle, im not having much luck figuring out how to manipulate the data of a particle after the fact.

thank you.
 
Top