Hi everybody,
I'm using the flag output of PhysX Character Controller Move:
const physx::PxControllerCollisionFlags flags = m_controller->move(physx::PxVec3(dist.m_x, dist.m_y, dist.m_z), 0.0f, elapsed, controllerFilters);
m_isGrounded = flags.isSet(physx::PxControllerCollisionFlag::eCOLLISION_DOWN);
Unfortunately, that looks to not be accurate enough.
The issue is since it's not accurate I get my jump action failing sometimes.
Is there any better way or something to improve it?
Thank you for the help!