Do you have your scenegraph set up like rootNode->ScaleTransformation->OffsetTransform->Geometry
? If so, you are scaling the offset transform as well as the geometry, so it makes sense that it's moving across the screen. Try setting up your scenegraph like: rootNode->OffsetTransform->ScaleTransformation->Geometry josh >>> [EMAIL PROTECTED] 04/23/04 11:48AM >>> Ben Logan wrote: >Hi > >Quick question - >What is the easiest way to prevent the movement of my shape when I am >scaling it - is there a standard algorithm for this? >Currently when I scale my shape up it moves across the scene! > Just make origin (0,0,0) be in the center of whatever you are scaling. ---------------------------------------------- Nikolai V. Christensen, Computer Engineer, Simulation and Training department IFAD, Forskerparken 10A, DK-5230 Odense M Denmark, EU Phone: +45 63 15 71 31 Fax: +45 65 93 29 99 WWWeb: http://www.ifad.dk e-mail: [EMAIL PROTECTED] ---------------------------------------------- =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
