载入中...
搜索中...
未找到
OwnedQuery3D.h
浏览该文件的文档.
1#pragma once
2
9
10#include <array>
11#include <cstddef>
12#include <cstdint>
13
14namespace eve::physics {
15
18 float x = 0.f, y = 0.f, z = 0.f;
19};
20
23 std::uint32_t categoryBits = 0xFFFFFFFFu;
24 std::uint32_t maskBits = 0xFFFFFFFFu;
25 int ignoredBodyId = -1;
27};
28
31 float upX = 0.f, upY = 1.f, upZ = 0.f;
32 float maxSlopeRadians = 0.87266463f;
33};
34
44
47 static constexpr std::size_t Capacity = 256;
48 std::array<BroadPhaseHit3D, Capacity> hits{};
49 std::size_t count = 0;
50 bool truncated = false;
51};
52
68
74
78 bool constrained = false;
79 bool grounded = false;
80 float deltaX = 0.f, deltaY = 0.f, deltaZ = 0.f;
81 float normalX = 0.f, normalY = 0.f, normalZ = 0.f;
82 int planeCount = 0;
83 int iterations = 0;
84};
85
86} // namespace eve::physics
Process-local, generation-qualified handles owned by the physics domain.
static constexpr RuntimeHandle invalid() noexcept
Returns the canonical invalid handle.
Optional physics backend for vehicle mobility and body attach.
Definition Climbing.h:36
Fixed-capacity deterministic result of one AABB broad-phase query.
static constexpr std::size_t Capacity
std::array< BroadPhaseHit3D, Capacity > hits
One generation-qualified shape returned by an owning broad-phase query.
Owning result of continuous capsule movement.
PhysicsWorldHandle world
Per-call capsule mover classification policy; never mutates persistent World3D settings.
Owning summary of a capsule overlap query.
Allocation-free owning three-dimensional physics value.
Query filter applied atomically for one owning query operation.
Owning snapshot of the closest ray intersection.
PhysicsShapeHandle shape
PhysicsBodyHandle body
PhysicsWorldHandle world