|  | 
|  | 
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			Hi, Vizard 3.0 has an entirely new interface for linking trackers to views and nodes. To link the tracker to the viewpoint with the specified offset you would do something like the following: Code: viewLink = viz.link(tracker,viz.MainView) viewLink.preTrans(LED_CAMERA_OFFSET) | 
| 
			 
			#2  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			Please take a look at the code: view = viz.get(viz.MAIN_VIEWPOINT) led1 = viz.add('vizppt.dls') PORT_INTERSENSE = 2 gyro = viz.add('intersense.dls') LED_CAMERA_OFFSET = [0,-0.15,0.25] viewLink = viz.link(gyro,viz.MainView) viewLink.preTrans(LED_CAMERA_OFFSET) viz.tracker() What is wrong? | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			Hi, Try the following code: Code: led1 = viz.add('vizppt.dls')
PORT_INTERSENSE = 2
gyro = viz.add('intersense.dls')
LED_CAMERA_OFFSET = [0,-0.15,0.25]
viewLink = viz.link(viz.mergeLinkable(led1,gyro),viz.MainView)
viewLink.preTrans(LED_CAMERA_OFFSET) | 
| 
			 
			#4  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			Thank you, the offset works. But how to "incline" viewvector (cameras orientation differs from InertiaCube orientaion)?
		 | 
| 
			 
			#5  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			Hi, You can apply a offset rotation to the intersense by adding the following code: Code: viewLink.preEuler([0,-5,0],target=viz.LINK_ORI_OP) #Tilt intersense 5 degrees up | 
| 
			 
			#6  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			Thanks a lot. Problem is solved.
		 | 
|  | 
| 
 | 
 |