|
hi everyone. i want to ask how to make the catapult throwing an object by pressing space (Not instantiate) ? It's similar with Angry bird game (pull the slingshot and release it, then the object will fly how far according to how far you pull the slingshot). You understand what i mean right ? sorry for my bad english. any answers appreciated.
(comments are locked)
|
|
As I wanted to try for myself as well I came up with a simple form of it. The object in this case is only going up and falling down at a rate that is not the gravity. You still need to perfect it but at least you got a lead. What would you learn if I just give you the answer? Hope that helps. thanks its really works!!!
Mar 15 '12 at 09:01 AM
COLLAnitySV
(comments are locked)
|

Well, the simplest way is to not use hinges or a slingshot at all, and to just use Rigidbody.AddForce in the correct direction. Certainly until your core game mechanics are down, that's what you should be doing.
i don't understand... it's keep flying