Base type for all concrete physical bodies. 更多...
| import 语句: | import QtQuick3D.Physics |
| Since: | Qt 6.4 |
| 继承: | |
| 继承者: |
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.