WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 09-08-2009, 01:02 PM
Elittdogg Elittdogg is offline
Member
 
Join Date: Aug 2007
Posts: 77
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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 07:55 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC