IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

StaticRigidBody QML Type

A physical body that does not move.

This type was introduced in Qt 6.4.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

StaticRigidBody QML Type

  • Import Statement: import QtQuick3D.Physics

  • Since: Qt 6.4

  • Inherits: PhysicsBody

Detailed Description

The StaticRigidBody type defines an immovable and static rigid body. Any collision shape is allowed for this body.

Do not move a StaticRigidBody. It is technically possible to do so, but it will incur a performance penalty, and colliding dynamic objects may not react correctly. Use a DynamicRigidBody with isKinematic set to true instead.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+