I'm not familiar with the scaling behavior but the way that the other
behaviors needed corrected is basically a coordinate transformation.
You may need to modify the scaling behavior so that it remembers the
objects position, then translates it to the origin, scales it and then
translates it back to its original position.
In this case, the viewplatform is unimportant since you will just be saving
the original corrdinates and then moving it to the origin and back to the
original location after the scaling operation.
$0.02
At 08:21 AM 01/18/2001 +0100, you wrote:
>Hi there,
>
>I am having a problem with my PickBehaviors. I am using a Scale, Translate
>and a rotate behavior and they work fine. But they do not satisfy my needs.
>For example: When I rotate an object, it rotates itself around the origin.
>When I scale an object, it scales but also moves to the origin. How can I
>solve this. I've already tried the PickOrbitBehavior from Eric but that
>only works on the ViewPlatform. I'am desperate, please help me. Any help
>is welcome.
>
>Thanks a lot.
>
>
>--------------------------------------------------
>Thijs Maenhout
>Software Developer
>
>QMatics nv
>Bruggesteenweg 112
>8830 Hooglede - Belgium
>--------------------------------------------------
>Tel. +32 51 27 24 00
>Fax +32 51 27 24 01
>--------------------------------------------------
>mailto:[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".
***********************************************************************
Eric Reiss
Manager MEMS Lab
Swanson New Product Incubator
School of Engineering - University of Pittsburgh
3700 O'Hara Street
647 Benedum Hall
Pittsburgh, PA 15261
Phone: 412-624-9696
Email: [EMAIL PROTECTED]
http://www.sigda.acm.org/Eric/
***********************************************************************
===========================================================================
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".