View Single Post
  #1  
Old 09-26-2010, 02:20 PM
Chapre Chapre is offline
Member
 
Join Date: Sep 2010
Posts: 36
scale problem using <node3d>.parent()

I have a problem with "<node3d>.parent()"

let me illustrate:

[COLOR="rgb(46, 139, 87)"]chair=viz.add("chair.osg",scale=(0.1,0.1,0.1))
van=viz.add("van.osg",scale=(0.1,0.1,0.1))
chair.parent(van)[/COLOR]

After I run the script, "chair" becomes child of "van", the only problem is that "chair" is again scaled and it become very small, please how could make chair child of van and keep the scale it had when it was still child of "viz"
Reply With Quote