PhysicsBody QML Type

Base type for all concrete physical bodies. 更多...

import 语句: import QtQuick3D.Physics
Since: Qt 6.4
继承:

PhysicsNode

继承者:

CharacterController , DynamicRigidBody ,和 StaticRigidBody

特性

详细描述

PhysicsBody is the base type for all objects that have a physical presence. These objects interact with other bodies. Some types are not influenced by the simulation, such as StaticRigidBody : They only influence other bodies. Other bodies are fully governed by the simulation.

另请参阅 Shapes and Bodies overview documentation .

特性文档编制

physicsMaterial : PhysicsMaterial

This property defines how the body behaves when it collides with or slides against other bodies in the simulation.

simulationEnabled : bool

This property defines if the body will partake in the physical simulation.