![]() |
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, |
The center() command should not be moving the object. It simply sets the rotation pivot point. Are you sure you are setting the center to the correct location? Here is an example that uses the cone model that comes with Vizard.
Code:
import viz Code:
cone.center(0,0,8) |
All times are GMT -7. The time now is 09:50 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC