Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

DebugDraw

Draws a debug view of the physics components. More...

Import Statement: import Felgo 4.0
Inherits:

Item

Properties

Detailed Description

This draws a debug view of all fixtures and joints of the physics simulation. PhysicsWorld automatically includes a DebugDraw item, so it normally does not have to be used manually.

Property Documentation

axisScale : real

Scale factor for drawing the DebugDraw.

Default value: 0.5


flags : DebugFlags

With this property the DebugDraw can be configured, which objects should be drawn. It can be any combination of the DebugFlags enum, for example to draw only bounding boxes and joints, use

 flags: DebugDraw.AABB | DebugDraw.Joint

The default value is DebugDraw.Everything.


world : World

This holds the world for which the debug view is shown.

It is by default set to Box2D::defaultWorld.


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded