Results 1 to 2 of 2

Thread: Rotate an Image:DirectX

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000

    I am new with the DirectX tool.I have a picture like a needle and i want that to be rotating like a clock needle.
    I have used sin and cos function to move the other end but couln't manage.

    Please help me to rotate.

    Thanx ahead..

  2. #2
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    They can't stop us! We're on a misson from God.
    use Direct 3D.

    I hate this method, but it seems like it is the only good possibility.
    just make a square. Use the needle as texture. grab a sample how to get it under the camera (billboarding but you only need it once if the game is 2D). Than use the built in D3D functions to rotate it.
    If you don't liket this method, the next fastest method would be the one you'll get from

    Sanity is a full time job

    Puh das war harter Stoff!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width