You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed this when I was doing a raycast for a moving object. For some reason some of my frames had a dt of 0, meaning I would check the same starting and end position.
Assertion failed: r.LengthSquared() > 0.0f, file upload/daabbcc/include/DynamicTree/b2DynamicTree.h, line 209
The text was updated successfully, but these errors were encountered:
This is not an error. Raycast length must be bigger then 0.0f. And this assertion comes from Box2D lib. So you'll get this result on every un-modifield Box2D. Even Defold has this.
All I can do is to prevent crash by returning a warning if length i <= 0 , is this ok for you? Also you can check this on Lua too
Noticed this when I was doing a raycast for a moving object. For some reason some of my frames had a dt of 0, meaning I would check the same starting and end position.
Assertion failed: r.LengthSquared() > 0.0f, file upload/daabbcc/include/DynamicTree/b2DynamicTree.h, line 209
The text was updated successfully, but these errors were encountered: