[Solved]Way to stop a continuous collision

1968

  • Posts: 78
Hello community!
At first, everything is simple, but not this time ...
At each collision, 1 and 2 are both alive, but the hit is -1 example fight.
Help is needed! 8)

« Last Edit: June 08, 2019, 11:43:03 am by 1968 »

colburt187

  • *
  • Posts: 2369
You can use a boolean to control collisions.

If SelfHit= false
set HP-1
Set SelfHit to true.

1968

  • Posts: 78
Hi!
It doesn't work that way, because the collision always happens.

colburt187

  • *
  • Posts: 2369
Move the set coll-hit block to under the decriment block. Then under that put “do after 0.2 seconds set coll-hit to false

1968

  • Posts: 78
Sometimes it is simple, but simple is difficult...
thank :o