このページでは

PhysicsBody QML Type

すべての具体的な物理体の基底型。詳細...

Import Statement: import QtQuick3D.Physics
Since: Qt 6.4
Inherits:

PhysicsNode

Inherited By:

CharacterController, DynamicRigidBody, and StaticRigidBody

プロパティ

詳細な説明

PhysicsBodyは、物理的な存在を持つすべてのオブジェクトの基底型です。これらのオブジェクトは他のボディと相互作用します。StaticRigidBody など、シミュレーションの影響を受けない型もあります。これらは他のボディにのみ影響を与えます。その他のボディは、シミュレーションによって完全に制御されます。

「 Qt Quick 」 「3D Physics Shapes」「Bodies」「Joints」も参照してください 。

プロパティのドキュメント

physicsMaterial : PhysicsMaterial

このプロパティは、シミュレーションにおいて、このボディが他のボディと衝突したり、他のボディに沿って滑ったりした際の挙動を定義します。

注:この プロパティは 現在、別の値が割り当てられていない限り、デフォルト値を持つPhysicsMaterial を保持していますが、将来のQtのバージョンではnull がデフォルトとなる可能性があるため、このプロパティがnullでないことを前提にしないでください。マテリアルを読み取ったり変更したりするボディには、明示的にPhysicsMaterial を割り当ててください。

「PhysicsMaterial」も参照してください 。

simulationEnabled : bool

このプロパティは、ボディが物理シミュレーションの対象となるかどうかを定義します。

デフォルト値:true

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.