Hi,
I am
getting the default value of the Point3d object ie 0, here is part of my code.
/*********code
behaviorBranch =
new BranchGroup();
bounds =
new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0f);
// create normal
interpolator
normalInterpolator
=
new
KBRotPosScaleSplinePathInterpolator(animAlpha,
objTransformGroup,
yAxis, normalKeyFrames);
normalInterpolator.setSchedulingBounds(bounds);
behaviorBranch.addChild(normalInterpolator);
objTransformGroup.addChild(behaviorBranch);
**********/
Thanks a lot
Anindita Pal
----- Original Message -----
Sent: Tuesday, April 03, 2001 5:49
PM
Subject: Re: [JAVA3D] Interactive
animation
I think if you get the bounds.getCenter()
it will tell you the pos. of the center of the object..
----- Original Message -----
Sent: Tuesday, April 03, 2001
5:27 AM
Subject: [JAVA3D] Interactive
animation
Hi,
I am new to Java3d. I am moving an 3D
object(Cone) using Alpha and KBRotPosScaleSplinePathInterpolator
classes, but i would like to obtain the position of the object in
the path at any perticular time so that i can activate some event
(like displaying an text etc. at that point of time).
Thanks.
Anindita.