Table of Contents

Namespace LibGFX.Physics

Classes

CollisionGroupExtensions

Provides extension methods for the CollisionGroup enum.

ComputeRaycast

Provides functionality to perform GPU-accelerated raycasting operations against mesh geometry using compute shaders.

DebugDrawer

Represents a debug drawer

MeshRaycast

Class for performing raycasts against a mesh without using a physics engine.

PhysicsBehavior

Represents a physics behavior

PhysicsHandler

Represents a physics handler

PhysicsHandler2D

Represents a physics handler for 2D physics

PhysicsHandler3D

Represents a 3D physics handler

Raycast

Structs

Collision
CollisionPoint
ComputeHitResult

Represents the result of a compute-based hit test, including the intersected triangle index, surface normal, and hit position.

HitResult

Represents the result of a raycasting hit.

MeshRay

Represents a ray in 3D space for mesh raycasting.

MeshRayHit

Represents a raycast hit result for a mesh.

Enums

CollisionGroup

Defines different collision groups for physics interactions.

ElementIndex