Ho to hide the box around the object?

Hello guys!
 

How can I hide the “transparent” box around every object/physics body to show on runtime? I only want to see the object’s image. It is good to see the box while in design/debug mode… but not on production… :wink:

Thanks!

You need to set the physics drawMode to “normal”.

Somewhere in your code (normally just after you’ve required the physics module) you’ll probably have the line

physics.setDrawMode( "hybrid" )

You just need to comment out/delete that line so that it defaults back to normal.

You need to set the physics drawMode to “normal”.

Somewhere in your code (normally just after you’ve required the physics module) you’ll probably have the line

physics.setDrawMode( "hybrid" )

You just need to comment out/delete that line so that it defaults back to normal.