Ask a Question related to Macromedia Director 3D, Design and Development.
-
WrongAgain #1
How to get the center of an object?
I want to let some objects in my scene rotate with its center. These objects
maybe be far from the origin. I can not use the 'model.worldposition', because
I found it is (0,0,0) when debug, not the coordinates of the objects. So I want
the shape centers of them, or barycenters, or some point like this. How to get
it? Which fuction?
When debug, I found the boundingbox center seems to satisfy my requirement,
but I tried and tried, and can not retrieve it at last.
WrongAgain Guest
-
Center Backgroundimge II
I fought it was fixed, but it ain't. I had problems with centering the background image and user told me to use CSS: No, not as a page... -
Accessibility Center?
You know in Windows XP, when you use the Accessibility Wizard, once you set some "out-there" settings like XXL-sized fonts, abnormally fat... -
<center>
Is there a way to use the html code fragment to insert <center> </center> to center the page. It's a pain to redo it every time you update all the... -
App Center and ASPX (IIS 6)
Hello Martin, I am looking for someone who could help you on it. Thanks very much for posting here. Best regards, Yanhong Huang Microsoft... -
Center a div tag
Hi The following div tag displays with a border. However, I want it to display center on the page. Any ideas welcome thanks jim <div... -
Ex Malterra #2
Re: How to get the center of an object?
boundingSphere returns a list with two elements, a vector representing the
position of the model and a float representing the radius of the bounding
sphere. you can use:
member("your3dWorld").model("yourModel").boundingS phere[1]
to get the entire position vector, or
member("your3dWorld").model("yourModel").boundingS phere[1][1].x
member("your3dWorld").model("yourModel").boundingS phere[1][1].y
member("your3dWorld").model("yourModel").boundingS phere[1][1].z
to get the x,y or z portion of the vector respectively.
Ex Malterra Guest



Reply With Quote

