CollisionHandlerEvent pattern strings tags don't work
Bug #1024069 reported by
RedPanda
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When checking for collision events by tag values ("%(tag)ft", "%(tag)it"), it works, but when you try by tag name ("%(tag)fh", "%(tag)ih"), it doesn't.
Here's the forum thread with example code: http://
Here's the manual page: http://
To post a comment you must log in.
"ih" only tests for existence, and doesn't substitute in tag name. It works fine, the event name being sent is just "csphere-into-" and "csphere-out-".
Call base.messenger. toggleVerbose( ) to debug which events are being sent.