Description
demo:
https://github.com/godotengine/godot-demo-projects/blob/master/2d/bullet_shower/bullets.gd
i don't understand the logic of this demo, it is for the PhysicsServer2D but it manually moves the particles and disables collisions
there is no point in this demo having the PhysicsServer2D in it..... actually the demo simply builds a wrapper class and tracks a position in there, it doesn't even change the particles actual positions (so cannot do any collision)
in the server we have this code
PhysicsServer2D.body_set_state(body, PhysicsServer2D.BODY_STATE_LINEAR_VELOCITY, velocity)
i cannot get this working myself yet, but that is what an example should have in it
EDIT: i now have this code working myself but don't know how you would want the demo, it could be updated: this godot video shows the steps to get the physics working and it will allow the demo to remove all the wrapper stuff
youtube vid:
https://www.youtube.com/watch?v=SXZu2NxSEWo&ab_channel=Chevifier