CapsuleShape QML Type▲
-
Import Statement: import QtQuick3DPhysics
-
Since: Qt 6.4
-
Inherits: CollisionShape
Detailed Description▲
This is the capsule shape. It is centered at the origin. It is specified by a diameter and a height value by which its axis extends along the positive and negative X-axis.
When using a scale with this shape, the x component will be used to scale the height and the y component will be used to scale the diameter.