Re: [PyOpenGL-Users] Touchsensors ? What are they good for ?
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@ro...> - 2004-08-10 15:39:38
|
Well, not so much obsolete as not yet finished :) . Eventual plan is to have the TouchSensor automatically do the addEventHandler call on its enclosing group so that you can just ROUTE from the ts to whereever you want to send the event, but I didn't get around to doing that (don't even remember why, for that matter). However, almost *every* case where you want to use a TouchSensor also requires a Script node, which is also unsupported, so at the moment, not likely to be a huge advantage to have the TouchSensors implemented. Wish I had more time to work on this stuff these days :-/ , Mike mg20163 wrote: > hi, > Touchsensors. What are they good for ? > the tests for openglcontext seem all to rely on doing : > > self.addEventHandler( "mousebutton", button = 0, state = 1, node = > self.someNode, function = self.OnClick1, ) > > the Touchsensor used in the tests seems to be obsolete. > thanks, > > MarcinGomulka ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |