Skip to main content
gamedev.net
🔒 Locked

Grenade Throw Preview

Started by Florian22222 Jun 10, 2012 at 7:58 PM 3 replies 2.6k views
Original Post
Florian22222
Florian22222
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!
Florian22222
Florian22222
That was the thing i was looking for. thanks!
how should i do collision then? I want the line to stop on collision..
Florian22222
Florian22222
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 ;)
Waterlimon
Waterlimon
It might be also possible to "ray"cast with the algorithm for the path somehow, it might woek smoother.
o3o

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.