[bug]CollisionTube can't call setPointB()

I tried this pandaSteer2 demo here discourse.panda3d.org/viewtopic.php … andasteer2, in panda3d 1.32 version, it can work, but when in 1.41, the line


can’t work, I’ve debuged the code, tube is a CollisionTube object, the error code is :

*** TypeError: Cannot call CollisionTube.setPointB() on a const object.

since v1.4.0, getSolid returns constant object, so you can’t modify it. You should use modifySolid instead.