just take a look at constructor or doc... its pretty simple. FaceLink(obj:Object3D, meshsource:Mesh, face:Face, offset:Number = 0, align:Boolean= false, target:Number3D = null)
obj:Object3D // the Object3d you wanna link meshsource:Mesh // the mesh reciever, your sphere face:Face // the face index of the sphere you wanna attach obj to it offset:Number // the distance from center face along the normal of the face align:Boolean // if the object need to be oriented to the normal vector target:Number3D // if align is not set, the object can lookat at a certain position. Thats the tower of a tank while its moving then update in your enterframe but again, sounds like ObjectContainer3D is more likely what you need. Fabrice On Jan 19, 2010, at 7:47 AM, Kapil wrote: > Hi > > I am new to Flex 3D. I have checked the FaceLink class tutorial in > http://blog.closier.nl/ site. I couldn't find any sample code there. > Can you please tell me where I can get some code which shows how to > use the FaceLink class to attach object on a sphere. > > Thanks > Kapil > > On Dec 23 2009, 2:33 am, Valts Darznieks <[email protected]> wrote: >> Thank you all I got it ! >> Only now myobjectsare attached upside down, any suggestions ? >> Thank you once again for your help.
