- Qt 6.11
- Qt Quick 3D Physics
- QML Types
- PhysicsBody
- Qt Quick 3D Physics | Commercial or GPLv3

# PhysicsBody QML Type

Base type for all concrete physical bodies. More...

Import Statement: | `import QtQuick3D.Physics`
Since: | Qt 6.4
Inherits: | PhysicsNode
Inherited By: | CharacterController, DynamicRigidBody, and StaticRigidBody

- List of all members, including inherited members

## Properties

- physicsMaterial : PhysicsMaterial
- simulationEnabled : bool

## Detailed Description

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.

See also Shapes and Bodies overview documentation.

## Property 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.

Default value: `true`