载入中...
搜索中...
未找到
JoltQueryInternal.h
浏览该文件的文档.
17[[nodiscard]] eve::Result<QueryVolume> capsuleVolume(float, float, float, float, float, float, float);
21RayHit3D queryHit(const State&, JPH::BodyID, const JPH::SubShapeID&, JPH::RVec3Arg, JPH::Vec3Arg, float);
23JPH::AllHitCollisionCollector<JPH::CollideShapeCollector> overlapVolume(const State&, const QueryVolume&,
26JPH::AllHitCollisionCollector<JPH::CastShapeCollector> sweepVolume(const State&, const QueryVolume&, JPH::Vec3Arg);
Definition JoltBody.cpp:7
JPH::AllHitCollisionCollector< JPH::CollideShapeCollector > overlapVolume(const State &state, const QueryVolume &volume, float separation)
Collects owning native records for this synchronous query; no pointers escape.
Definition JoltQueryInternal.cpp:56
bool isAcceptedHit(const State &state, JPH::BodyID id, const JPH::SubShapeID &sub, QueryFilter3D filter)
Filters a synchronous native hit, borrowing state only for the call.
Definition JoltQueryInternal.cpp:23
RayHit3D queryHit(const State &state, JPH::BodyID id, const JPH::SubShapeID &sub, JPH::RVec3Arg point, JPH::Vec3Arg normal, float fraction)
Projects a validated native hit into an owning result on the idle simulation thread.
Definition JoltQueryInternal.cpp:33
eve::Result< QueryVolume > capsuleVolume(float ax, float ay, float az, float bx, float by, float bz, float radius)
Cooks an ephemeral query capsule; inputs are endpoints in world space.
Definition JoltQueryInternal.cpp:9
JPH::RVec3 closestConvexPoint(const ShapeState &shape, JPH::RVec3Arg target)
Returns a convex leaf's world closest point; shape/body are borrowed only during this idle-thread cal...
Definition JoltGeometryQueries.cpp:12
JPH::AllHitCollisionCollector< JPH::CastShapeCollector > sweepVolume(const State &state, const QueryVolume &volume, JPH::Vec3Arg delta)
Sweeps one ephemeral convex volume; results are local to its starting position.
Definition JoltQueryInternal.cpp:66
Query filter applied atomically for one owning query operation.
Definition OwnedQuery3D.h:47
JPH::RefConst< JPH::Shape > shape
Definition JoltQueryInternal.h:11
Definition JoltInternal.h:58