WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-08-2010, 09:50 AM
masaki masaki is offline
Member
 
Join Date: Jan 2008
Posts: 63
you can try using viz.mouseScale() and set the scale factor for the navigation to 0 and then switch it back to 1 when you want the simulation to move again.

For example:

Code:
def goStopTask():
	
	viz.mouse.setScale(0,0)
	yield viztask.waitTime( 2)
	viz.mouse.setScale(1,1)
	
vizact.onkeydown( ' ',  viztask.schedule, goStopTask )
when you hit the space bar, the program will scale the mouse input to 0 for 2 seconds, and then back to 1.

Best,
Masaki
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
Realistic Light and Shadows Using Vizard and 3DS Max jde Vizard 4 07-13-2012 10:58 AM
.3DS importing in Vizard and 3D Studio jde Vizard 1 08-28-2009 03:14 PM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 11:13 AM
Vizard tech tip: Text to Speech Jeff Vizard 1 01-15-2009 09:39 PM
Vizard won't run wouters Vizard 5 02-05-2008 11:12 AM


All times are GMT -7. The time now is 09:07 AM.


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