In simple physics, letting actors always overlap even while detecting collision from each other should be the default. It's impossible to elegantly make a traditional game if the actors push off each other within the engine (unless the game is very very simple with no enemies or attacks or anything).
I always use this code:
I feel like maybe the easiest to implement solution is to have an on/off dropdown in Game Settings > Settings > Advanced, under where you choose between simple physics and box2d. It could be called "actor overlap" or something. The default should absolutely be the opposite of what it is now, but I guess only if you start a new project so it doesn't mess with peoples' current games.
I always use this code:
Code: [Select]
for (type1 in getAllActorTypes())
{
for (type2 in getAllActorTypes())
{
Collision.addResponse(type1,type2, "sensor");
}
}
to disable actors pushing each other around, otherwise I can't make much. But I have no idea how anyone other than me will know to use this code.I feel like maybe the easiest to implement solution is to have an on/off dropdown in Game Settings > Settings > Advanced, under where you choose between simple physics and box2d. It could be called "actor overlap" or something. The default should absolutely be the opposite of what it is now, but I guess only if you start a new project so it doesn't mess with peoples' current games.