Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / 3D Projectile code (...what, another one ??!!)

Author
Message
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 19th Jan 2005 12:16 Edited at: 23rd Jan 2005 01:29
The difference with this code and previous ones that I and others have posted, is that here you can aim the projectile at a specific target, and move the target in three dimensions. Would be useful for games with balls, bullets, etc.

Arrow-keys move target, a and z change the ball speed, space-bar launches projectile.




Login to post a reply

Server time is: 2024-11-23 17:28:42
Your offset time is: 2024-11-23 17:28:42