Hi,
I want to make a ray collide with a sphere, because I want that the character grabs only the objects he is facing.
I added a CollisionRay to the handlerPusher and two handlerEvents, inPattern and outPattern, for the sphere but I’m guessing what I’m doing isn’t the way for do that 'cause nothing happens.
I think this might be what you are looking for.
panda3d.org/manual/index.php/C … 3D_Objects
I found that you can also use messenger.toggleVerbose () in order to debug the event system.
If you aren’t seeing the appropriate X-into-Y events triggered, then you need to back up a level and check your collision solids. If you are using the base traverser, you can just use showCollisions (base.render) to view the ray/solid intersections.