Sign in to follow this  
Florian22222

Grenade Throw Preview

Recommended Posts

Florian22222    618
Hey!

I am doing a platformer in Unity where you can throw grenades. So it´s not obvious where the grenade will land etc.
I want to make a "preview" where the grenade will fly.
Is there an easier way then simulating the grenade shot every single update?

I hope this is the right subforum.

Thanks in advance!

Share this post


Link to post
Share on other sites
japro    887
If you only have gravity act on it you could just draw the trajectory since its a simple quadratic curve without actually simulating.

Share this post


Link to post
Share on other sites
Florian22222    618
After some research i got an answer. I will break it down into some segments.
like simulating 200ms each segment. i hope my android phone got enough cpu power for this ;)

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