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


Contains static properties of the Box2D physics engine. More...

Import Statement: import Felgo 4.0



Detailed Description

This singleton object allows changing static properties of the Box2D physics engine.

Property Documentation

defaultWorld : World

The default world used by Body objects. It is automatically set to the any created world, if not currently set. If a second world is created and should be used as default for new Body objects, this property should be updated:

 World {
  id: newWorld

  Component.onCompleted: Box2D.defaultWorld = newWorld

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded