PDA

View Full Version : setEuler after Linking problem


durf
06-04-2009, 08:26 AM
Hello,

I created this:


fT = vizact.fadeTo(1,time=2)
ppt3Object.runAction(fT)
ppt3Object.scale(.05,.05,.05)
link1 = viz.link(ppt3,ppt3Object)
link1.setOffset([60,0,0])



I have tried to setEuler by the node3d and by the link and its not setting the Euler. If I comment out the link and set the position for ppt3Object and then set the Euler it works. How can I set the Euler while its linked?

Thanks

Jeff
06-05-2009, 01:41 PM
You can set a link's mask so that the destination object only takes the source's position. Then you can set it's orientation.
link.setMask(viz.LINK_POS)