WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-22-2009, 08:20 PM
jaylocco jaylocco is offline
Member
 
Join Date: Jun 2009
Posts: 19
Question but how?

ahah...just encounter this...by using the spinto, how do I determine the degree of angle for it to animate back to the original position? because the amount of degree depends on how long I press the Right or Left button. Which mean, it is not fix to an amount of degree.Or, is there anyway that I can calculate the angle based on how long I press the button? so that I could assign the value to a variable which later to be applied in spinto

Degree = 'amount of degree'

<viewpoint>.spinto([x,y,z,Degree],value)
Reply With Quote
Reply


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
How to track the actual viewpoint Jerry Vizard 3 05-25-2016 09:44 AM
Draw Vector in viewpoint lookat direction Chrissy2009 Vizard 2 05-30-2009 12:50 AM
Avatar w/ hat cannot look at viewpoint TrashcanPatrol Vizard 5 08-19-2008 08:26 AM
3d viewpoint movement spacefarer Vizard 9 07-25-2006 03:37 PM
VRML Viewpoint error bstankie Vizard 1 03-11-2003 02:10 PM


All times are GMT -7. The time now is 04:39 AM.


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