Panda PhysX

The rays used in raycasting are not part of the PhysScene, they are just temporary objects. The debug renderer can not show them.

There are two other options for visualizing them:

1.) What I have done in the raycast sample: use two spheres, and move them to the origin and the end of the ray every frame.

2.) Use the Panda3D class “LineSegs” to create a NodePath which is a line from the ray’s origin to it’s end every frame. If I find some time I will modify the raycast sample this way for the next release.

Performance is not an issue here since this is just for debugging.

Thanks, but it comes at a high cost: PhysX is not open source, and my bindings for PhysX are still at an early stage.

enn0x