WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 05-07-2009, 12:12 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You could loop through all your objects and set their velocities and angular velocities to zero.
Code:
for i in range (len(objects)):
	objects[i].setVelocity([0,0,0])
	objects[i].setAngularVelocity([0,0,0])
Start a timer when when the force is applied that will expire after 3 seconds then call your function that stops the movement.
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 stop vizact.move Jerry Vizard 3 06-04-2009 05:25 PM
moving and object by mouse but don't know how to stop the movement nlfrnassimi Vizard 8 04-26-2009 08:23 AM
how can I stop an action? nlfrnassimi Vizard 4 02-13-2009 01:59 AM
timer question Elittdogg Vizard 5 10-10-2007 03:49 PM
moving viewpoint vs. translating Head_pos bailenson Vizard 5 02-01-2005 02:51 PM


All times are GMT -7. The time now is 02:48 PM.


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