Damn trigonometry... help? =] menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    jbrauman's Avatar Member
    Reputation
    65
    Join Date
    Dec 2007
    Posts
    72
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Damn trigonometry... help? =]

    I don't know what it is, whether I have been out of school too long or I've let my brain get lazy (probably the latter) but I can't for the life of me figure out a way to do this.

    I have four variables: XPos, YPos, Rotation (0-359 degrees) and Distance.

    I need to programatically draw a line from 'XPos', 'YPos' (imagine on a XY plane) at 'Rotation' degrees, and the line needs to be Distance long. Basically I need to obtain the X,Y value of the point I will be drawing TO. Crappy paint drawing is win:

    Even just some ideas would be awesome.

    Damn trigonometry... help? =]
  2. #2
    jbrauman's Avatar Member
    Reputation
    65
    Join Date
    Dec 2007
    Posts
    72
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just drew the object rotated. Anyone interested in how I did it, in .Net use the Graphics.Transform methods.

  3. #3
    Christina's Avatar Contributor
    Reputation
    98
    Join Date
    Aug 2008
    Posts
    394
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You don't learn by cheating.

    PS: That's really easy, you must be stupid.

Similar Threads

  1. [Help] Damn time-outs!
    By Sonic Waffle in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 02-16-2008, 06:30 PM
  2. help damn errors
    By Bloodpoisen in forum World of Warcraft General
    Replies: 0
    Last Post: 04-07-2007, 02:10 PM
All times are GMT -5. The time now is 09:23 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search