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!
Grenade Throw Preview
If you only have gravity act on it you could just draw the trajectory since its a simple quadratic curve without actually simulating.
That was the thing i was looking for. thanks!
how should i do collision then? I want the line to stop on collision..
how should i do collision then? I want the line to stop on collision..
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 ;)
like simulating 200ms each segment. i hope my android phone got enough cpu power for this ;)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement