Stencyl 3.4.0 is now out. Get it now!

Suggestion Issue: We need a simple option to let actors overlap in simple physics


Pages: 1

NobodyX

  • Master Stencyler
  • *
May 02, 2017, 12:40:49 am
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:
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.


Pages: 1

Details

  • Reported
    May 02, 2017, 12:40:49 am
  • Updated
    May 02, 2017, 12:40:49 am

  • View Status
    Public
  • Type
    Suggestion
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Game Settings

Tags