user1222006
user1222006

Reputation: 171

Image Rotation Horizontally

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

Answers (1)

Shahar Prish
Shahar Prish

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

Related Questions