Physics (BOX2D) questions

Is there a way to have a collisionobject calculate at a slower speed than other more essential collision objects?

Also, I would like to be able to set certain collisionobjects to non-filling in the physics debug layer. Or possibly even conceal them completely. If I have many triggers on the map, then the physics debug becomes fairly useless since the triggers wash out of the colors on the screen:

It would be nice to have the debug overlays more customizable. Most likely it will have to be user contribution to Defold since I don’t see it being a huge priority otherwise.

2 Likes

I could look into this if someone can help me build the code. I have built the engine for PC but unfortunately am unable as of now to build the HTML5/Android portion and I lack an Apple computer / iPhone to test that side of things on.

No, not currently I’m afraid. Can you even do that with Box2D?

Also not possible I’m afraid.

The only way you can influence this is through the Debug Alpha setting game.project, but I’m not sure if it helps: Defold project settings

1 Like