hi all.
i started to use b2d recently, the lib is great.
i'm having a problem with this sample app i'm coding, basically its just a world with a floor and a block falling from the top
every time you touch the screen.
it works fine. but when you press very fast in order to create two falling objects very close to each other (because they always appear from the same place), the app crashes when world->step() is called.
i'm assuming that is not valid to create two objects on practically the same point, i haven't been capable of step through the code but i'm sure that is the step function that causes the crash.
is there a way to deal with this?, or should i just validate that never something like that happens.
i started to use b2d recently, the lib is great.
i'm having a problem with this sample app i'm coding, basically its just a world with a floor and a block falling from the top
every time you touch the screen.
it works fine. but when you press very fast in order to create two falling objects very close to each other (because they always appear from the same place), the app crashes when world->step() is called.
i'm assuming that is not valid to create two objects on practically the same point, i haven't been capable of step through the code but i'm sure that is the step function that causes the crash.
is there a way to deal with this?, or should i just validate that never something like that happens.