Bullet Soft Bodies cannot have their debug drawing disabled
Bug #1282729 reported by
Ashley Whetter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Won't Fix
|
Undecided
|
Ralf Pfrogner |
Bug Description
BulletSoftBodyNode implements BulletBodyNode which has the setDebugEnabled method. Calling .setDebugEnable
Attached is a reduction case. Nothing should show (unless you uncomment the geometry code) but the wireframe and anchor points are drawn.
Changed in panda3d: | |
assignee: | nobody → Ralf Pfrogner (ralf-pfrogner) |
Changed in panda3d: | |
status: | Opinion → New |
To post a comment you must log in.
It is true that debug rendering of a soft body can not disabled via node.setDebugEn abled(False) .
However, the cause is within Bullet itself and not the Panda3D Bullet module: micsWorld: :debugDrawWorld () does not check the collision flags of the individual soft body.
btSoftRigidDyna
It would be easy to amend the Bullet source code, e. g.
""" *)this- >m_softBodies[ i]; getCollisionFla gs() & btCollisionObje ct::CF_ DISABLE_ VISUALIZE_ OBJECT) ==0)
btSoftBody* psb=(btSoftBody
+if ((psb->
+{
...
+}
"""
So far I do not see a way to work around this inside our own code.