Torpedos

Blitz3D Forums/Blitz3D Beginners Area/Torpedos

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I am trying out a small space fight game, to add to my project.

I have a main screen with one cube. I have created a cube and tested for mouse to object collision with camerapick to test some ideas.

Now I want to test firing torpedos, relatively slow objects at this cube using a sphere. How do I calculate the trajectory or fire the sphere in the correct direction?

If even there is a thread I would appreciate being pointed into the right direction.

Cheers in advance

Mango