# PhysicsState

Engine/source/T3D/physics/physicsCommon.h

Helper structure which defines the state of a single physics body.

More...

## Public User Defined

```Point3F
```
```linVelocity
```

The secondary physics state derived from the primary state.

```Point3F
```
```angVelocity
```

## Public Attributes

```Point3F
```
```angularMomentum
```

The angular momentum.

```Point3F
```
```momentum
```

The momentum in kilogram meters per second.

```QuatF
```
```orientation
```

The orientation of the body.

```Point3F
```
```position
```

The primary physics state.

```bool
```
```sleeping
```

Is true if the shape is asleep.

## Public Functions

```PhysicsState()
```

Constructor.

```MatrixF
```
```getTransform()
```

Helper builds the transform from the state.

```PhysicsState &
```
```interpolate(const PhysicsState & a, const PhysicsState & b, F32 t)
```

Interpolates between two physics states leaving the result in this physics state.

## Detailed Description

Helper structure which defines the state of a single physics body.

## Public User Defined

```Point3F linVelocity
```

The secondary physics state derived from the primary state.

The linear velocity derived from the momentum.

```Point3F angVelocity
```

## Public Attributes

```Point3F angularMomentum
```

The angular momentum.

```Point3F momentum
```

The momentum in kilogram meters per second.

```QuatF orientation
```

The orientation of the body.

```Point3F position
```

The primary physics state.

The position of the body.

```bool sleeping
```

Is true if the shape is asleep.

## Public Functions

```PhysicsState()
```

Constructor.

```getTransform()
```

Helper builds the transform from the state.

```interpolate(const PhysicsState & a, const PhysicsState & b, F32 t)
```

Interpolates between two physics states leaving the result in this physics state.