|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
changing rotation pivotI have been searching this form for an easy way to change the DisplayObject3D pivot i found a trick say create a new DisplayObject3D and call it pivot then add the cube as a child but i don't get it Anyone explain it to me? i want to rotate my DisplayObject3D from the center Wouldn't it be easy if there is a registration Point for changing the pivot? |
|
|
Re: changing rotation pivotIt would be, really. Until someone writes it, you'll have to do it with something like this though :
var pivot:DisplayObject3D = new DisplayObject3D(); var obj:Sphere = new Sphere(material); pivot.addChild (sphere); scene.addChild(pivot); //The this does the rotation. sphere.x = 400; pivot.rotationY = 90; On Jan 4, 2008 10:36 AM, blackdice <ih32_32@...> wrote:
-- Ralph Hauwert _______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org |
|
|
Re: changing rotation pivotOh, I get it; I get it now
thank you
|
| Free embeddable forum powered by Nabble | Forum Help |