Is the most interesting because sometimes Jolt takes bodies with following data:
DLL HIT
1.898927 0.850766 0.000000(94.946350 42.538319 0.000000), r 0.240000(12.000000):
B 1.870254 11.413527 0.000011(93.512695 570.676392 0.000529)
R 99.256607 <= 0.057600
END
For some reason body is taken with distance is 99, when double radius is 0.057600
In D:\arts\gamedev\JoltPhysics\Jolt\Physics\Collision\BroadPhase\BroadPhaseBruteForce.cpp
it has the following check
if (bounds.GetSqDistanceTo(inCenter) <= radius_sq)
how is possible it passes?
Problem happens not all the time. Most of the time after some time after
physicsSystem->GetBodyInterface().RemoveBody(body->GetID());
happened
Will start from the code
This part:
Is the most interesting because sometimes Jolt takes bodies with following data: DLL HIT 1.898927 0.850766 0.000000(94.946350 42.538319 0.000000), r 0.240000(12.000000): B 1.870254 11.413527 0.000011(93.512695 570.676392 0.000529) R 99.256607 <= 0.057600 END For some reason body is taken with distance is 99, when double radius is 0.057600 In D:\arts\gamedev\JoltPhysics\Jolt\Physics\Collision\BroadPhase\BroadPhaseBruteForce.cpp it has the following check if (bounds.GetSqDistanceTo(inCenter) <= radius_sq) how is possible it passes?
Problem happens not all the time. Most of the time after some time after physicsSystem->GetBodyInterface().RemoveBody(body->GetID()); happened