Jump to content
  • Advertisement
Sign in to follow this  
Kaze

ODE spamming "vector has zero size"

This topic is 3715 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Google turns up a lot of results but no definitive explanation for what causes it or what to do about it. Also of note that I'm using the tao C# wrapper so I can't use a lot of the low level hacks suggested in some of the google results. Can anyone else shed some more light on this?

Share this post


Link to post
Share on other sites
Advertisement
a normalisation gone wrong? Spamming the debugger output should only occur in debug builds though.

If you have a mesh, look for degenerate triangles (area of triangle roughly 0). If you do a cross product of two edges, get the length (squared) and the result is around 0, you have a degenerate triangle.

Share this post


Link to post
Share on other sites
Currently I'm not using trimeshes, dBodyAddTorque seems to be involved but I don't know if its the root cause or just triggers it. Usually its just console spam but after a while it will completely break the simulation.

EDIT:
just a update it seems like setting a mass or density lower than .01 can get interpreted as 0 mass or 0 rotational inertia

[Edited by - Kaze on August 19, 2008 5:32:54 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!