lianlab / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

btMultimaterialTriangleMeshShape broken #170

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run appMultiMaterialDemo
2. Notice that the block does not respond appropriately 

What is the expected output? What do you see instead?
The block should slide along the first material type, then stop on the 
second material type.  Instead, the block does not slide at all.

What version of the product are you using? On what operating system?
Bullet 2.73sp1 & current trunk

This is because of changes made to btCollisionShape that were not 
propogated to btMultimaterialTriangleMeshShape, with regard to the shape 
type that is returned when getShapeType() is called.  I have made the 
appropriate changes so that btMultimaterialTriangleMeshShape will function 
properly again.

Original issue reported on code.google.com by Alex.Sil...@gmail.com on 13 Jan 2009 at 7:44

Attachments:

GoogleCodeExporter commented 9 years ago

The 'getShapeType' refactoring silently fails, we should have done a better job 
in 
refactoring that.

Thanks a lot for the patch, it has been applied here:
http://code.google.com/p/bullet/source/detail?r=1585

Original comment by erwin.coumans on 19 Jan 2009 at 7:20

GoogleCodeExporter commented 9 years ago

Original comment by erwin.coumans on 19 Jan 2009 at 7:28