![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				Spin Pivot with a WRL
			 
			
			
			Hey all, 
		
		
		
		
		
		
		
		
	
	I am experiencing some difficulty getting a model to spin around a pivot (I am trying to get a door to open and close). Is it possible to set the pivot in 3ds Max and then export as a WRL? This KB article explains how to do it with an IVE file, but my version of 3ds max seems to export a newer file than the vizard 3.0 OSG library can handle. I can't seem to recover the pivot point that I set for the door in 3ds max. Any advice?  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			Can you post an example WRL file and the code you are using to spin the door?  
		
		
		
		
		
		
		
		
	
	If the door node is contained in a hierarchy, then you might be getting a handle to the wrong node. For example, if the WRL file is creating a transform above the door to offset the pivot, then you will need to get a handle to the transform in order to spin the door about the pivot.  | 
![]()  | 
	
	
		
  | 
	
		
  | 
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| easeIn for a spin? | chris_user | Vizard | 2 | 06-14-2011 08:04 AM | 
| Changing pivot center midway through animation | vijaykiran | Vizard | 2 | 10-19-2009 11:10 AM | 
| spin around axis object | kazo11 | Vizard | 2 | 04-19-2007 10:48 AM | 
| Pivot points for child objects in Vizard with 3ds Max | Gladsomebeast | Vizard | 0 | 09-19-2006 12:21 PM | 
| Spin Move | oscar | Vizard | 2 | 12-03-2004 06:52 AM |