13 [[nodiscard]] u32 loadFlags()
const override;
14 void createCollision()
override;
15 void calcCollisionTransform()
override;
16 f32 getCollisionRadius()
const override;
23 KCLTypeMask flags,
CollisionInfo *pInfo, KCLTypeMask *pFlagsOut)
override;
25 KCLTypeMask flags,
CollisionInfo *pInfo, KCLTypeMask *pFlagsOut)
override;
26 [[nodiscard]]
bool checkSpherePartial(f32 radius,
const EGG::Vector3f &v0,
28 KCLTypeMask *pFlagsOut, u32 timeOffset)
override;
29 [[nodiscard]]
bool checkSpherePartialPush(f32 radius,
const EGG::Vector3f &v0,
31 KCLTypeMask *pFlagsOut, u32 timeOffset)
override;
33 KCLTypeMask flags,
CollisionInfo *pInfo, KCLTypeMask *pFlagsOut,
34 u32 timeOffset)
override;
35 [[nodiscard]]
bool checkSphereFullPush(f32 radius,
const EGG::Vector3f &v0,
37 KCLTypeMask *pFlagsOut, u32 timeOffset)
override;
43 KCLTypeMask flags,
CollisionInfo *pInfo, KCLTypeMask *pFlagsOut)
override;
45 KCLTypeMask flags,
CollisionInfo *pInfo, KCLTypeMask *pFlagsOut)
override;
46 [[nodiscard]]
bool checkSphereCachedPartial(f32 radius,
const EGG::Vector3f &v0,
48 KCLTypeMask *pFlagsOut, u32 timeOffset)
override;
49 [[nodiscard]]
bool checkSphereCachedPartialPush(f32 radius,
const EGG::Vector3f &v0,
51 KCLTypeMask *pFlagsOut, u32 timeOffset)
override;
52 [[nodiscard]]
bool checkSphereCachedFull(f32 radius,
const EGG::Vector3f &v0,
54 KCLTypeMask *pFlagsOut, u32 timeOffset)
override;
55 [[nodiscard]]
bool checkSphereCachedFullPush(f32 radius,
const EGG::Vector3f &v0,
57 KCLTypeMask *pFlagsOut, u32 timeOffset)
override;
60 [[nodiscard]]
bool checkSpherePartialImpl(f32 radius,
const EGG::Vector3f &v0,
62 KCLTypeMask *pFlagsOut, u32 timeOffset);
63 [[nodiscard]]
bool checkSpherePartialPushImpl(f32 radius,
const EGG::Vector3f &v0,
65 KCLTypeMask *pFlagsOut, u32 timeOffset);
66 [[nodiscard]]
bool checkSphereFullImpl(f32 radius,
const EGG::Vector3f &v0,
68 KCLTypeMask *pFlagsOut, u32 timeOffset);
69 [[nodiscard]]
bool checkSphereFullPushImpl(f32 radius,
const EGG::Vector3f &v0,
71 KCLTypeMask *pFlagsOut, u32 timeOffset);
73 [[nodiscard]]
bool checkSpherePartialImpl(f32 radius,
const EGG::Vector3f &v0,
75 KCLTypeMask *pFlagsOut, u32 timeOffset,
bool push);
77 [[nodiscard]]
bool checkSphereFullImpl(f32 radius,
const EGG::Vector3f &v0,
79 KCLTypeMask *pFlagsOut, u32 timeOffset,
bool push);
bool calcCollision(f32 radius, const EGG::Vector3f &vel, u32 time, EGG::Vector3f &v0, EGG::Vector3f &fnrm, f32 &dist)
Calculates the sin-like collision of the wavy road.