Menu

#13 Trimesh - heightfield collision broken

open
nobody
None
5
2012-09-14
2010-06-06
No

See DemoHeightfield. Dropping a trimesh bunny will cause it to roll off the heightfield, then sink into the floor and finally resurface.
The problem lies in the heightfield-trimesh collider which temporarily substitutes the position, rotation and AABB of colliding bodies before colliding them with the heightfield planes. The problem with GIMPACT trimeshes is that the collider restores after the collision only the position, rotation and AABB stored in DxGeom. The AABB stored inside the trimes is not updated, causing subsequent collisions with other bodies to fail.
A solution is currently discussed in the ODE discussion thread.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.