[X3D-Public] Moving Objects around per mouse click

Joe D Williams joedwil at earthlink.net
Mon Feb 22 21:30:05 PST 2010



> Hello,
> Is it possible to move, let's say a box from one position in a scene
> to a new position with a "click event". I mean: I have a scene with 
> a
> floor object. On that floor object there sits at some position a 
> box.
> Now when I click somewhere on my floor the box moves to that 
> position?
>

Yes, When you click on the box, then send new translation and rotation 
values to the Transform that holds the Box. .

> Thanks for any help.
>
> Bye,
> Martin
>

Good luck,
Joe

> _______________________________________________
> X3D-Public mailing list
> X3D-Public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org 




More information about the X3D-Public mailing list