18 [[nodiscard]] f32 getCollisionRadius()
const override {
22 virtual void initCollision() {}
23 virtual void loadAABB(f32 radius);
25 [[nodiscard]]
virtual bool checkPointPartial(
const EGG::Vector3f &pos,
27 KCLTypeMask *maskOut) = 0;
28 [[nodiscard]]
virtual bool checkPointPartialPush(
const EGG::Vector3f &pos,
30 KCLTypeMask *maskOut) = 0;
31 [[nodiscard]]
virtual bool checkPointFull(
const EGG::Vector3f &pos,
33 KCLTypeMask *maskOut) = 0;
34 [[nodiscard]]
virtual bool checkPointFullPush(
const EGG::Vector3f &pos,
36 KCLTypeMask *maskOut) = 0;
38 [[nodiscard]]
virtual bool checkSpherePartial(f32 radius,
const EGG::Vector3f &pos,
40 KCLTypeMask *maskOut, u32 timeOffset) = 0;
41 [[nodiscard]]
virtual bool checkSpherePartialPush(f32 radius,
const EGG::Vector3f &pos,
43 KCLTypeMask *maskOut, u32 timeOffset) = 0;
44 [[nodiscard]]
virtual bool checkSphereFull(f32 radius,
const EGG::Vector3f &pos,
46 KCLTypeMask *maskOut, u32 timeOffset) = 0;
47 [[nodiscard]]
virtual bool checkSphereFullPush(f32 radius,
const EGG::Vector3f &pos,
49 KCLTypeMask *maskOut, u32 timeOffset) = 0;
51 virtual void narrScLocal(f32 ,
const EGG::Vector3f & , KCLTypeMask ,
54 [[nodiscard]]
virtual bool checkPointCachedPartial(
const EGG::Vector3f &pos,
56 KCLTypeMask *maskOut) = 0;
57 [[nodiscard]]
virtual bool checkPointCachedPartialPush(
const EGG::Vector3f &pos,
59 KCLTypeMask *maskOut) = 0;
60 [[nodiscard]]
virtual bool checkPointCachedFull(
const EGG::Vector3f &pos,
62 KCLTypeMask *maskOut) = 0;
63 [[nodiscard]]
virtual bool checkPointCachedFullPush(
const EGG::Vector3f &pos,
65 KCLTypeMask *maskOut) = 0;
67 [[nodiscard]]
virtual bool checkSphereCachedPartial(f32 radius,
const EGG::Vector3f &pos,
69 KCLTypeMask *maskOut, u32 timeOffset) = 0;
70 [[nodiscard]]
virtual bool checkSphereCachedPartialPush(f32 radius,
const EGG::Vector3f &pos,
72 KCLTypeMask *maskOut, u32 timeOffset) = 0;
73 [[nodiscard]]
virtual bool checkSphereCachedFull(f32 radius,
const EGG::Vector3f &pos,
75 KCLTypeMask *maskOut, u32 timeOffset) = 0;
76 [[nodiscard]]
virtual bool checkSphereCachedFullPush(f32 radius,
const EGG::Vector3f &pos,
78 KCLTypeMask *maskOut, u32 timeOffset) = 0;