WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 09-19-2013, 11:04 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
When two objects are linked, the destination object (car) will follow after the source (haptic device). If you want the car to follow a different path and go over the cylinder while the device goes through it, don't use a link. You can update the car's X,Z position every frame based on the device position and calculate its Y position based on the intersection of the car and cylinder at that point. To update the car's position every frame register a function with the vizact.onupdate command.
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
Find collision point of line and arbitrary object asdf Vizard 2 01-28-2013 11:04 AM
Collision Exception jassel41 Vizard 2 11-09-2010 06:08 PM
linked object collision pgagolf Vizard 1 04-19-2007 02:27 PM
when collision mode is on, can i "turn it off" for an individual object? Vdoug Vizard 1 09-22-2005 01:14 PM
Collision Detection often too slow Johannes Vizard 4 02-28-2005 12:11 PM


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


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