Applying transformations

Topics: Developer Forum, User Forum
Feb 20, 2007 at 2:58 PM
I have deeply looked at the sources of the Channel9Demo, and i am interested in learning how to control the transformation applied to the planes ( meshes )
For example i would make a simple effect : a clic on a button force the plane to rotate 30 degrees.
Could someone explain to me how to do this simple trick.

Mar 1, 2007 at 4:11 PM
In the click function for the button, just add an AxisAngleTransformation to your plane, or modify one that already exists on it, to give the desired rotation.