WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-16-2009, 11:59 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
A hotspot is triggered when the viewpoint enters or leaves it. Here you have a hotspot that will be triggered when you enter it
Code:
ball1.starthotspot(BALL, viz.CIRCLE_HOTSPOT_IN, 0,0,20)
The radius of this circular hotspot is 20 meters so the viewpoint triggers it from the start.

It seems like a hotspot is not what you want here. Get the position of the first ball within a timer function and when it's at the position you want move the second ball towards it.
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
RE:Slide Joints and physics optimization nige777 Vizard 4 06-22-2009 05:21 PM
physics engine exception ad_astra Vizard 3 03-25-2009 12:31 PM
Physics and Haptics jalvarez Vizard 3 07-16-2008 04:03 PM
collision with physics enabled joeymax Vizard 2 04-17-2008 03:49 PM
Physics engine question adimov Vizard 2 07-22-2004 01:33 PM


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


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