Recent content by ChichoRD
-
Creating an Enemy with 2D Linear Movement: Calculating Projectile Angle
Thanks! I think I'll be able to implement that in code, the Wolfram Aplha solution for my before stated equation seemed horrible to compute. I'll keep you guys informed!- ChichoRD
- Post #7
- Forum: Programming and Computer Science
-
Creating an Enemy with 2D Linear Movement: Calculating Projectile Angle
Yes, when I referred to a bullet was only to simplify the things as it would be easier to understand, but in reality it is the enemy itself who launches at you, and I want to find the perfect vector for it to launch so that it predicts perfectly your movement and collides with you. (I know the...- ChichoRD
- Post #5
- Forum: Programming and Computer Science
-
Creating an Enemy with 2D Linear Movement: Calculating Projectile Angle
Hi, thank you for such a quick response, howver I may have not expressed with enough detail my problem. All my movements occur in a surface plane, NO GRAVITY. Something like the xz plane. All my movements have this ecuation for their position: dr = v · dt However, time (t) is unknown for me as...- ChichoRD
- Post #3
- Forum: Programming and Computer Science
-
Creating an Enemy with 2D Linear Movement: Calculating Projectile Angle
Hi, I am a game developer and recently found myself in a situation where I wanted to create an enemy that shoots at you given a set of variables. The game takes place in a top down view so there is no need for gravity acceleration, just 2d linear constant movement. The question to answer is...- ChichoRD
- Thread
- 2d Angle Linear Movement Projectile
- Replies: 7
- Forum: Programming and Computer Science