The draw values the override uses, together with the selection of which of them apply.
Each value mirrors the draw property of the same name on PhysicsWorld and PhysicsWorldDefinition, and accepts the same range. Assign the whole struct to PhysicsDrawOverride.settings to apply a change.
| Property | Description |
|---|---|
| drawAtTransform | Draws bodies at their Transform's pose rather than their simulated pose, in place of PhysicsWorld.drawAtTransform. |
| drawColors | The colors used to draw bodies, shapes, joints and contacts, in place of PhysicsWorld.drawColors. |
| drawContactType | Controls how contact points are drawn, in place of PhysicsWorld.drawContactType. |
| drawFillAlpha | The interior fill alpha, in place of PhysicsWorld.drawFillAlpha. |
| drawFillOptions | Controls how shape geometry is filled, in place of PhysicsWorld.drawFillOptions. |
| drawFilter | Limits what gets drawn to a narrow selection, in place of PhysicsWorld.drawFilter. |
| drawForceScale | The scale used when drawing contact forces, in place of PhysicsWorld.drawForceScale. |
| drawNormalScale | The scale used when drawing contact normals, in place of PhysicsWorld.drawNormalScale. |
| drawOptions | Limits what gets drawn to a broad selection, in place of PhysicsWorld.drawOptions. |
| drawPointScale | The scale used when drawing points, in place of PhysicsWorld.drawPointScale. |
| drawTarget | Controls which Editor views a world is drawn into, in place of PhysicsWorld.drawTarget. |
| drawThickness | The outline and orientation thickness, in place of PhysicsWorld.drawThickness. |
| overrideOptions | Selects which values the override replaces. |