Reputation: 171
How can I rotate an image horizontally in WP7? It should seem like if we rotating a coin on a table. I am able to rotate in an angle but not able to do it horizontally.
Upvotes: 0
Views: 208
Reputation: 4849
Use PlaneProjection
(See description here)
Set CenterOfRotationX at 0.5 and (See a good description here) and use a Storyboard to animate the RotationY property of the PlaneProjection instance (enter link description here)
If you have Expression Blend installed, I highly suggest you use that to create your Storyboard - it makes life much easier.
Upvotes: 2