Hi,

I'm not sure to understand you problem...
First of all, if you make a setScale(1,1,1) it is normal that nothing
changes...

After, your problem is not clear... you use a PAT for moving and scaling...
and you scale the object separately ?
Please be more precise... what does your scenegraph looks like ?

Vincent.

2008/3/14, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> I have a geode that I have added as a child to a
> osg::PositionAttitudeTransform.
>
> If I call setPosition (x,y,z), it seems to work OK. If I then call
> setScale with
> (1.,1.,1.) as arguments, it doesn't change as expected. But, if I change
> the
> scale values to something other than one, in addition to scaling the
> object, it
> also moves it. How do I separate the two so that setScale only scales
> after  a
> translation, not move it to?
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to