Table of Contents

Interface IMatterAgent

Namespace
Gravitas
Assembly
Gravitas.dll

Defines the host-owned object boundary Gravitas needs to bind matter into a simulation context.

public interface IMatterAgent

Properties

Context

Gets the explicit Gravitas runtime context this agent belongs to.

GravitasWorldContext Context { get; }

Property Value

GravitasWorldContext

IsInteracting

Gets whether the agent is currently interacting with another agent.

bool IsInteracting { get; }

Property Value

bool

IsParent

Gets whether this agent is the top-level collider owner in its host hierarchy.

bool IsParent { get; }

Property Value

bool

Transform

Gets the world transform used for collider and visual positioning.

FixedTransform Transform { get; }

Property Value

FixedTransform