Made cursor work

This commit is contained in:
2025-12-07 20:09:41 +03:00
parent 44896ed0d9
commit 33fc237793
12 changed files with 136 additions and 30 deletions

View File

@@ -748,6 +748,13 @@ void PhysicsModule::controlPhysics(flecs::entity e, bool enable)
e.remove<InWater>();
}
}
bool PhysicsModule::raycastQuery(const Ogre::Vector3 &startPos,
const Ogre::Vector3 &endPos,
Ogre::Vector3 &position)
{
return JoltPhysicsWrapper::getSingleton().raycastQuery(startPos, endPos,
position);
}
bool WaterBody::isInWater(const JPH::BodyID &id) const
{
flecs::entity e =