[Solved] The ball doesn't bounce

hi, can anyone tell me what’s wrong? i added bounce behavior to the ball but it doesn’t bounce against the wall


clideo_editor_e087e781ffbe475e9a7a4b94d100850f

You’re bouncing the ball but then applying a force at 115 degrees. You should really apply the force in the direction the ball is moving.

imagine that the ball is a projectile of an enemy and I would like it to bounce inside the room

Apply a permanent force to the projectile, and condition to check for a collision between the ball and wall before bouncing the ball:

2 Likes

it seems to work using permanent force… but in my main project where multiple bullets are spawned in the same scene I tried using the once trigger and the following balls are stopped without applying any force

It’s the trigger once that’s not allowing multiple balls to be moved.

Can you add a force when you create/spawn the ball?

1 Like

yes i tried to move the add forces event right after the ball creation and it works thank you very much

1 Like