Hi again, so I’ve been trying to figure out how to select certain objects with the mouse. My first assumption was that that panda used some kind of simple variables which came back as ‘True’ or ‘False’ depending on whether the designated button was pressed, however after doing some work on my own and perusing the forums here it appears that panda3d works differently than that. The online manual is a bit sparse when it comes to keyboard/mouse input, so I’m a bit confused as to how this works.
So can you guys help me out? for instance what modules need to be imported, and can you break down the code that gets entered to use it, I don’t remember the exact syntax, but from what I’ve seen I think it works something like this :
self.accept ([i]button pressed[/i], [i]resulting action[/i])
except that I"m not sure how this works if all I’m trying to do is change a value of a variable that determines if the status of an in game object is selected or not, since most of the resulting actions that I’ve seen seem to be something like moving or rotating an object.
Much thanks in advance.