![]() |
|
#6
|
|||
|
|||
|
Also, the way I have the hotspot set up is as a variable within a class:
self.hotspotTolerance = 1 So what I "want" to happen is that anytime both my current yaw AND pitch are within 1 degree of the target yaw AND pitch (which I need to be a fixed value) then I trigger the next target. But the way the code reads above--it has a < sign. I need it to be 0 < x < 1--I don't know how to set that. Otherwise the hotspots get triggered if I'm far enough away that I produce a negative yaw and pitch. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Laser Pointer Updated | Elittdogg | Vizard | 8 | 04-10-2008 10:48 AM |
| General question and question regarding arrays | dan12345 | Vizard | 1 | 01-15-2008 11:15 AM |
| Stereo Overlap question | JMOwens | Vizard | 2 | 01-08-2008 09:54 AM |
| Lots of Question | Karthi | Vizard | 4 | 02-20-2004 07:42 PM |
| Basic Joystick Navigation Question | Plasma | Vizard | 2 | 01-29-2004 08:08 PM |