Sign in to follow this  
watermelonChris

Projectile/Bullet algorithm

Recommended Posts

Hey guy's I'm trying to get something to shoot. But I'm not sure if there's decent algorithm for this out there?

I have an angle from a point, I'd like the projectile to move for example a space of 5 units on each update...

Do I use line algorithm all store all the points? And then when it's off screen remove it?

Cheers :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this