different stuff in physics

This commit is contained in:
2026-03-18 18:41:28 +02:00
parent b56d85f95d
commit 79ceac1005
8 changed files with 223 additions and 18 deletions

View File

@@ -80,6 +80,18 @@ public:
}
virtual CastResult_t RayCast( Vector vBegin, Vector vEnd ) override
{
return CRapierPhysicsWorld_RayCast(m_pWorld, vBegin, vEnd);
}
virtual CastResult_t ShapeCast( HShape hShape, Quat vOrientation, Vector vBegin, Vector vEnd ) override
{
return CRapierPhysicsWorld_ShapeCast(m_pWorld, (RapierShape_t*)hShape, vOrientation, vBegin, vEnd );
}
RapierWorld_t *m_pWorld = NULL;
};