Nearby cars colliding with each other

The collision of the cars near
When the car touches the other car from the side, the explosion occurs
I want when the cars overlap the collision happens
And not at the edges

???:thinking:

Have you tried making the collision masks on the cars smaller?

1 Like

How did I not understand you

What @beanmatt means is to reduce the size of the car’s hitboxes .

From this (hitbox/collision mask is the red box):

image

Making the red box smaller allows the cars to overlap:

image

1 Like

Double click on the car in the Objects panel, then click on Edit Collision Mask. By default it’s set to cover the entire sprite, but you can make it whatever size/shape you want. You can manage the collision mask for each animation, and even each frame of each animation. When you have a Condition to detect a collision, it detects when the collision masks collide.

1 Like

@MrMen @beanmatt

Many thanks geniuses
I wish you success and happiness always :heart_eyes::+1:

The problem has been resolved