WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   setEuler after Linking problem (https://forum.worldviz.com/showthread.php?t=2072)

durf 06-04-2009 08:26 AM

setEuler after Linking problem
 
Hello,

I created this:
Code:


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.
Code:

link.setMask(viz.LINK_POS)


All times are GMT -7. The time now is 01:44 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC