litghost
21-01-2007 02:00:04
I have integrated ODE with my game, but I found the collision response was always inverted. It would pull objects toghter instead of keep them apart. I figured out the problem was EntityInformer created a trimesh from the model, but the triangle order was "wrong", so normals were facing inward. Regardless, when I flip the normals on the model in Blender, and exported the collisions worked as expect.
However, Blender seems to need them the other way for sane rendering. I can reverse the culling order in Ogre trivally, but can't seem to find it in Blender or EntityInformer. If I can change the triangle order in either of those, I can be consistent everywhere.
Is there a method to do it in EntityInformer that I have not seen? Or ODE for that matter?
Thanks.
However, Blender seems to need them the other way for sane rendering. I can reverse the culling order in Ogre trivally, but can't seem to find it in Blender or EntityInformer. If I can change the triangle order in either of those, I can be consistent everywhere.
Is there a method to do it in EntityInformer that I have not seen? Or ODE for that matter?
Thanks.