Code: Select all
//std::cout<<atan2f(angleForceX, angleForceZ)<<std::endl;
Unable to yet find the cause, and sceptic that calculating an arctan with 2 floats from a data object that merely has an index to a Component object that is loosely coupled to Bullet itself would be the cause.... I can only ask myself one thing:
Could some flags that atan2f set affect bullet in a way that it thinks there is such overflow?
--Using 2.81, and MinGW on Win7.
Edit: After some recompiles, and build type switches, and building Bullet in Debug too, the error vanished from all my configurations.... Is there a way to consistently debug this better? If it's really just an AABB overflow, I have no idea how I could be causing it since after initialization, I don't touch the shape at all.
EDit: Edit: Nevermind, it's still there...
Edit final: I was using
Code: Select all
applyForce(force, btVector3());