Recent content by vonWolfehaus

  1. V

    How Can I Find the Coordinates of Rotated Points on a Stick?

    Sorry, but I'm not a student so I don't remember what those lines above the letters mean :( You're talking to a philosophy degree turned web/game developer. It looks like you're referring to the Pythagorean theorem, which doesn't work very well for this situation. I need to get to the new...
  2. V

    How Can I Find the Coordinates of Rotated Points on a Stick?

    Homework Statement I need to find the x,y coordinates of the points that neighbor a center point that has been rotated around yet another point. An illustration is best: http://coldconstructs.com/random/point_prob.png Given: point of origin, angle, p1, p2 Needed: p1 a, b, c etc, p2 a, b, c...
  3. V

    Changing angle to seek a moving target position

    [SOLVED] When I get in these situations I break everything down into their simplest forms and build back up. Works every time. Here's the new angle modifier code: dx = targetPos.x - (x + halfWidth); dy = targetPos.y - (y + halfHeight); var targetAngle:Number = (Math.atan2(dy, dx) * 57.295) -...
Back
Top