View Single Post
  #1  
Old 11-21-2007, 09:18 AM
krimble krimble is offline
Member
 
Join Date: Nov 2006
Location: Nijmegen
Posts: 63
rotation problem

Hi all,

I have a problem with ive\osg, obj, wrl objects, The pivotpoint in 3ds max is at the edge of the object.
The object is not in the center of the world. When I export the object, Vizard imports it exactly at the right place
(the same place as in 3ds max), that's great!. But when I apply the following action.

opendoor = vizact.spin(0,1,0, 20, 5)
furniture_objects[key].addAction(opendoor)

The animation starts, but the pivot is at the 0,0,0 position of the world....

With furniture_objects[key].center(2,0,0) it seems moving the whole object to (2,0,0) ?


How do I get the right rotationPoint for a object in Vizard ?


Thank u,
Reply With Quote