Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a throwable grenade?

Asked by 8 years ago

**** DISCLAIMER: I have not began to script this, I just want to be pointed in the right direction. I am NOT looking for anyone to do it for me, just looking for an answer!

So, I want to create a throwable grenade and I don't know how to go about making it arch over to simulate gravity. Should I try to find the arch by doing math.sin and all that or is there any objects I could use. I just want someone to point me in the right direction. All help is good, thanks!

2 answers

Log in to vote
1
Answered by 8 years ago
Edited 8 years ago

Make an animation using welds and CFrame then use bodyobjects to propel the grenade to the desired location. EDIT1: Then you will need to make something to make the grenade explode obviously.

Ad
Log in to vote
0
Answered by 8 years ago

There is an free model gun that does exactly that. https://www.roblox.com/library/213110580/TMP-v0-0-3 I suggest checking it out and see how they did it. Its not 100% accurate but I guess that leaves up to you to perfect it!

Answer this question