Collisions are ignored (SOLVED)

I have a bullet (kinematic collision object) and a floor (Static collision object) and sometimes the bullet is not destroyed.

function on_message(self, message_id, message, sender)
    -- check for the message
    if message_id == hash("collision_response") then
    	go.delete()
    end
end

PS: I found the problem, the collision object is not scaled, how can scale floor gameobject and boxcolision mask?

This issue and possible solutions are discussed here: Scaling Collision Object when Game Object is scaled (DEF-521)

Are you scaling the floor at run-time?

I’m editing floor in editor (version 2.0), setting the scale y to 2.0

Ok, so you collision objects will only scale properly if the game object is scaled uniformely (ie x, y and z component of scale has the same value).

1 Like