WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-23-2011, 11:15 AM
miles miles is offline
Member
 
Join Date: Jan 2011
Posts: 21
Apologies for delay in response. I found that the issue was link.reset(viz.RESET_OPERATORS), which apparently undoes preMultLinkable. Our research is just about done for the season. Thank you Jeff for all your help.

Regards,
miles
Reply With Quote
  #2  
Old 06-07-2011, 07:45 AM
kevin kevin is offline
Member
 
Join Date: Jun 2011
Posts: 18
Hi Jeff,

I've taken over the project from miles for this summer. Thanks for your help so far. We've almost got the entire rig working, but another problem has presented itself.

The code you provided in your last post was exactly what we needed. However, the car isn't turning properly. It's more or less drifting; when the steering wheel is turned, the car will turn in the right direction, but it will move both forward and to the side. Our code for moving the car is as follows:

Code:
self.car.setPosition([0,0,self.speed*viz.elapsed()],viz.REL_LOCAL)
self.car.setEuler([rot*self.speed*self.turn_speed*viz.elapsed(),0,0],viz.REL_LOCAL)
The head-tracking orientation data seems to be interfering with the local Z-axis of the car, though the local rotation is unaffected. I'm not sure whether to address the problem by making changes to the link or by making changes to the car movement. Any suggestions?
Reply With Quote
Reply

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 create mini car driving by wiimote superantTTY Vizard 7 05-18-2010 05:18 AM
How to pause the Vizard simulation? 4711 Vizard 4 03-18-2010 04:45 PM
Particle simulation imperialkat Vizard 0 01-29-2010 12:01 PM
driving simulator paulpars Vizard 1 05-12-2006 11:46 AM


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


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