Accurate collision for torus model?

Flummi

09-11-2006 12:37:58

Hello! I am totaly noob playing around with nxogre.

First i have to say, that it is realy fun to code with it.

I tried to work with some convexShapes. One of them was a torus. As i learned other object collide with the torus though its in the middle of the object, where are no polygons. Is it possible to have an object like a cup and fill it with an another object in the scene?

betajaen

09-11-2006 13:03:50

It's always fun with NxOgre.

With staticMeshes it's fine, however for dynamics I think a group of convex shapes making up a separate section would probably do the trick. The concave "shape" demo (NxTutorial114) shows you how to do this.

:wink: