I am not sure if this has been posted but i am not finding anything regarding this topic or if someone could point me in the right direction.
I am building a 2D space game like Asteroids with a Player ship, some space rocks and enemy ships, with a planet in the background(static) who has the Physics 2 behaviour
The issue I am having is with the Physics 2 behaviour (I think) where everything is bouncing all over the place when they (player, rocks and ships) collide/touch. I have tried setting the friction and restitution to 0 (from my understanding as per the wiki regarding those stats) should prevent things from bouncing or modify their affect on one another
So what I am trying to confirm is, if there is any other settings I am missing perhaps or require twerking or did misunderstand those settings so that ships don’t bounce off into the ether. I have even considered increasing the density however that works a little but it makes the objects heavy to move
Any advise or assistance would be appreciated. Thank you in advance
There is a tutorial on asteriods in the wiki Asteroids [GDevelop wiki]. I don’t know how similar it is to your target game but they have the friction at .3 and the restitution to .1
I didn’t look what they had the rocks set to.
Then in the game example Asteroids - a game example from the GDevelop game making app | GDevelop it doesn’t even look like they’re using physics.
Then this one Space asteroids - a game example from the GDevelop game making app | GDevelop is using physics, and I opened it to look and his ship friction and density are 0 (I didn’t check if he changes that in the events because I’m heading to work).
Anyway give them a look they might help you figure out something for your game.