[R90] Collision detection problem

0 favourites
  • 4 posts
From the Asset Store
Detects any kind of ad blocker. Very easy implementation into already existing projects
  • I PM'ed you the link.

    The collision detection, at least in this particular .capx, appears to only be detecting one object at a time, resulting in enemy ships flying straight through laser beams unharmed as long as something else somewhere is getting hit by them.

    More description and such in the comment on the event sheet.

  • Bumping this thread because it was hidden by a forum bug. Ashley - did you see it before or did it get missed?

  • I've discovered that the problem is specifically with collision detection on families, collision checks on an object not in a family work fine. Still happens in r92.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I don't think it's specifically to do with families, it's that due to a bug the overlap condition would not test all combinations of instances. I've fixed it for the next build which I think fixes your example, but you should be aware of the CPU intensity of the number of collision checks you are requesting: if you have 75 spots checking overlap with 400 lasers, that's 30,000 collision checks per tick (1.8 million per second). You should definitely consider running that on a timer or finding some way to reduce the number of instances or collision checks.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)