Table of Contents

Struct PhysicsSweepCircleAgainst3DRequest

Namespace
Gravitas.Queries
Assembly
Gravitas.dll

Describes one mixed 2D swept-circle query against 3D colliders.

public readonly struct PhysicsSweepCircleAgainst3DRequest
Inherited Members

Constructors

PhysicsSweepCircleAgainst3DRequest(Vector2d, Vector2d, Fixed64, Fixed64, Fixed64)

Creates a mixed 2D circle-slab sweep against all 3D physics layers.

public PhysicsSweepCircleAgainst3DRequest(Vector2d start, Vector2d end, Fixed64 radius, Fixed64 slabCenterY, Fixed64 halfThickness)

Parameters

start Vector2d
end Vector2d
radius Fixed64
slabCenterY Fixed64
halfThickness Fixed64

PhysicsSweepCircleAgainst3DRequest(Vector2d, Vector2d, Fixed64, Fixed64, Fixed64, PhysicsLayerMask, LSCollider2D?, bool)

Creates a mixed 2D circle-slab sweep against 3D colliders.

public PhysicsSweepCircleAgainst3DRequest(Vector2d start, Vector2d end, Fixed64 radius, Fixed64 slabCenterY, Fixed64 halfThickness, PhysicsLayerMask layerMask, LSCollider2D? excludedCollider = null, bool includeTriggers = true)

Parameters

start Vector2d
end Vector2d
radius Fixed64
slabCenterY Fixed64
halfThickness Fixed64
layerMask PhysicsLayerMask
excludedCollider LSCollider2D
includeTriggers bool

Properties

End

Gets the circle center's end in the X/Z plane.

public Vector2d End { get; }

Property Value

Vector2d

ExcludedCollider

Gets the optional 2D source collider used for mixed-collision filtering.

public LSCollider2D? ExcludedCollider { get; }

Property Value

LSCollider2D

HalfThickness

Gets the slab half-thickness along the Y axis.

public Fixed64 HalfThickness { get; }

Property Value

Fixed64

IncludeTriggers

Gets whether trigger targets are included.

public bool IncludeTriggers { get; }

Property Value

bool

LayerMask

Gets the included 3D target layers.

public PhysicsLayerMask LayerMask { get; }

Property Value

PhysicsLayerMask

Radius

Gets the swept circle radius.

public Fixed64 Radius { get; }

Property Value

Fixed64

SlabCenterY

Gets the world-space Y coordinate at the center of the embedded slab.

public Fixed64 SlabCenterY { get; }

Property Value

Fixed64

Start

Gets the circle center's start in the X/Z plane.

public Vector2d Start { get; }

Property Value

Vector2d