--- title: "Astra.CharacterRuntimeState" version: snapshot-2026-10-06 engineGeneration: astra-current language: C# status: semantic-reference runtimeVerified: false platformEvidence: [] url: https://astraengine.com.br/pt-br/snapshot-2026-10-06/api/astra-characterruntimestate/ --- # Astra.CharacterRuntimeState Velocity is displacement resolved during the last fixed step; MotorVelocity is the Jolt motor input. Position is the capsule foot in world space. Runtime only. **Namespace:** `Astra` · **Assembly:** `Astra.Scripting` · **Tipo:** Struct :::note[Sobre esta referência] Assinaturas extraídas semanticamente com Roslyn/MSBuild. Isso confirma a superfície do código deste snapshot; não comprova execução no Android. As descrições vêm dos comentários da API. Membros sem explicação ainda exigem revisão editorial. ::: ## Declaração ```csharp readonly record struct Astra.CharacterRuntimeState ``` Velocity is displacement resolved during the last fixed step; MotorVelocity is the Jolt motor input. Position is the capsule foot in world space. Runtime only. **Interfaces:** `System.IEquatable`. ## Membros | Membro | Categoria | |---|---| | [.ctor](#member-c019569ed3ea2ee0) | Method | | [GroundNormal](#member-cd1b9fd270270e95) | Property | | [GroundState](#member-6fd26501394affc0) | Property | | [GroundVelocity](#member-37ebd0ceb0c64a25) | Property | | [HasMeasuredStep](#member-8cce59365945f036) | Property | | [IsGrounded](#member-8a77c4420900d613) | Property | | [MotorVelocity](#member-4425ac1c3e5ff749) | Property | | [Position](#member-0689da89b6819aa5) | Property | | [Velocity](#member-e6a2ce8dba27a0ac) | Property |

.ctor

```csharp public CharacterRuntimeState(Astra.CharacterGroundState GroundState, bool HasMeasuredStep, System.Numerics.Vector3 Position, System.Numerics.Vector3 Velocity, System.Numerics.Vector3 MotorVelocity, System.Numerics.Vector3 GroundVelocity, System.Numerics.Vector3 GroundNormal) ``` Velocity is displacement resolved during the last fixed step; MotorVelocity is the Jolt motor input. Position is the capsule foot in world space. Runtime only. | Parâmetro | Tipo | Contrato | |---|---|---| | `GroundState` | `Astra.CharacterGroundState` | | | `HasMeasuredStep` | `bool` | | | `Position` | `System.Numerics.Vector3` | | | `Velocity` | `System.Numerics.Vector3` | | | `MotorVelocity` | `System.Numerics.Vector3` | | | `GroundVelocity` | `System.Numerics.Vector3` | | | `GroundNormal` | `System.Numerics.Vector3` | |

GroundNormal

```csharp public System.Numerics.Vector3 GroundNormal { get; init; } ```

GroundState

```csharp public Astra.CharacterGroundState GroundState { get; init; } ```

GroundVelocity

```csharp public System.Numerics.Vector3 GroundVelocity { get; init; } ```

HasMeasuredStep

```csharp public bool HasMeasuredStep { get; init; } ```

IsGrounded

```csharp public bool IsGrounded { get; } ```

MotorVelocity

```csharp public System.Numerics.Vector3 MotorVelocity { get; init; } ```

Position

```csharp public System.Numerics.Vector3 Position { get; init; } ```

Velocity

```csharp public System.Numerics.Vector3 Velocity { get; init; } ```