[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

tube=self.tubenp.node().getSolid(0)
tube.setPointB(Point3(
                   tube.getPointA()+Point3(0,15.*self._velocity.length(),0)))

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.