You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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
The text was updated successfully, but these errors were encountered:
RichardEllicott
changed the title
godot-demo-projects/2d/bullet_shower /bullets.gd .... demo doesn't make any sense?
bullets.gd .... demo code has issues, doesn't make any sense?
Nov 27, 2024
i can't see any manual detection in your code, we have a class object being moved around with a loop... then a drawing part... what line is the manual detection?
i solved this issue for myself anyway.... my demo spawns loads of physics circles and uses the server:
if the example wanted to use rigid bodies please make use of my code it's just a waterfall, i should add a pool but it was all too slow for water anyway
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
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
The text was updated successfully, but these errors were encountered: