WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-27-2011, 05:06 PM
miles miles is offline
Member
 
Join Date: Jan 2011
Posts: 21
Update: I tried again to follow the thread you've linked. I created a blank node to represent the position of the car, and linked it to the MainView. It seems I can get one device working or the other, not both. Here is some relevant code:
Code:
tracker = viztracker.KeyboardMouse6DOF()
self.car = viz.addGroup()
self.link = viz.link( self.car, viz.MainView )
self.link.preMultLinkable(tracker)
With this code, only the vehicle controls work, not the keyboard/mouse. If I instead link the tracker directly with viz.link( tracker, viz.MainView ), the keyboard/mouse controls work, but not the vehicle controls.

Last edited by miles; 04-27-2011 at 05:07 PM. Reason: Sample inaccurate
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 01:43 AM.


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