View Single Post
  #10  
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