one math problem

This is a discussion on one math problem within the Windows Programming forums, part of the Platform Specific Boards category; Hello: if the enemy in the game, and he gets the player's position and shoot, and after serveral seconds, the ...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    173

    one math problem

    Hello:
    if the enemy in the game, and he gets the player's position and shoot, and after serveral seconds, the enemy shoots again, and the player's position is not same as previous, so the problem is that how to make a way to make the speed of the bullet along the oblique line if the bullets speed are all the same.
    There are maybe some easy ways, but somehow I can't get them, so anyone can help me?
    Thanx
    Don't laugh at me,I am just a SuperNewbie.

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    Do you know trig? Cause that is the easiest way I can think of.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  2. Help!!c problem in math
    By feelsunny in forum Tech Board
    Replies: 2
    Last Post: 10-06-2007, 04:35 AM
  3. Math Problem....
    By NANO in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 11-11-2002, 04:37 AM
  4. math problem
    By unixOZ in forum Linux Programming
    Replies: 4
    Last Post: 10-19-2002, 01:17 AM
  5. Little math problem
    By Thantos in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 10-27-2001, 08:44 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21