Hi,
I have problems with setting up collision between GeomTriMesh and GeomSpher=
e. I have a list called "verts" with my vertices and a list called "ind" wi=
th indices. It look that they're ok, because it is drawn as I want it to be=
drawn with glVertexPointer/glDrawElements.=20
That's all about trimesh geom in my code:
trimesh=3Dode.TriMeshData()
trimesh.build(vert,ind)
trimeshgeom=3Dode.GeomTriMesh(trimesh,space)
And then I place a sphere over it and it just falls through the mesh, witho=
ut any collision (of course sphere has it's body and geom). What should i d=
o to make this work? Should the indices or vertices be in some specific ord=
er? I took the collision callback function from Tutorial 3.
Greets,
Przemek Muller
----------------------------------------------------------------------
Sa niesamowite, zobaczysz... ;-) >>> link http://link.interia.pl/f18b9
|