3D physics-enabled box with visual representation. More...
| Import Statement: | import Clayground.World |
Box3DBody combines a Canvas3D Box3D visual with a dynamic rigid body physics shape. It provides a simple way to create physics-enabled 3D objects.
Example usage:
import Clayground.World Box3DBody { position: Qt.vector3d(50, 10, 50) width: 20; height: 20; depth: 20 color: "orange" density: 10 }
Box width in world units.
Box height in world units.
Box depth in world units.
Box color.
Which face to scale (Box3DGeometry enum).
Scale factor for the scaled face.