Closed GoogleCodeExporter closed 8 years ago
I'm not sure if a TRIANGLE_SHAPE_PROXYTYPE's parent always has a
TRIANGLE_MESH_SHAPE_PROXYTYPE shape, so I left the
SCALED_TRIANGLE_MESH_SHAPE_PROXYTYPE check.
Also, if it is guaranteed that the triangle's direct parent is always the
trimesh, we could remove the whole do..while loop and just assign trimesh to
colObj0Wrap->m_parent->m_shape instead.
Original comment by kam1k...@gmail.com
on 23 Nov 2012 at 2:32
And I forgot to mention, the partId and index arguments should be removed since
that info is available on the object wrapper.
Original comment by kam1k...@gmail.com
on 23 Nov 2012 at 2:34
See https://github.com/bulletphysics/bullet3/issues/111
Original comment by erwin.coumans
on 30 Mar 2014 at 7:20
Original issue reported on code.google.com by
kam1k...@gmail.com
on 23 Nov 2012 at 2:23Attachments: