All Questions
Tagged with projectile-physics java
7 questions
4
votes
3
answers
7k
views
How do I calculate the exit vectors of colliding projectiles?
I'm trying to create projectiles which bounce/ricochet off one another when they collide in mid-air.
All projectiles are spherical and have identical size, mass, and speed. Each has two vectors: one ...
3
votes
1
answer
2k
views
How to create a projectile motion of a cannonball in top down view?
Objective
To move the bullet with projectile motion to specific destination by touch point.
In the below image is an example of a bullet which has a projectile motion. On my observation, the bullet ...
2
votes
1
answer
12k
views
Rotate image around a specified origin
I'm trying to rotate my Turret.png (small Gunhead with a laser in front) towards the mouses location on the screen. I tried just using my method for rotating projectiles towards the next step on their ...
1
vote
1
answer
103
views
How to implement proportional guidance in 2D
I would like to preface this by saying I am not a dedicated game developer.
I am trying to implement proportional navigation in order to create a missile class that receives the target location every ...
1
vote
1
answer
772
views
How to set rotation of a projectile in a parabolic arc in Box2D? [duplicate]
I have trouble making my projectile - in this case an arrow - rotate as it should when it's travelling in a parabolic arc. It doesn't rotate at all while travelling, only until it collides with ...
0
votes
3
answers
2k
views
Calculating Projectile Movement
I'm having some trouble putting together a method that will constantly move a "bullet" in the same direction accurately. Here is what I have so far
...
0
votes
0
answers
46
views
Projectile Motion in lwjgl with java [duplicate]
I was trying to make a game with a bow and arrow using lwjgl but I couldent get the arch right. I have a function called projectile that is updated once a frame for each arrow. my frame cap is at 60 ...