Hi,
I'm a beginner in iPhone Application Development and Xcode who is developing a small game which has a slingshot effect Box2d. Currently i need help on moving a body in its respective angles when the sling shot is used. The slingshot effect has been created using the Draw lines technique and a body is placed on it. Yes i know it requires core physics and I'm familiar that it requires components such as Angular Velocity, force, Mass, Time…etc. However i have done quite a bit of research but all in vain.
Now in my project the object moves haphazardly in different directions when the sling shot is used. Have tried all the permutations and combinations and now stuck here. If someone can suggest or answer with a sample code it would be really helpful
Regards,
Karthik
I'm a beginner in iPhone Application Development and Xcode who is developing a small game which has a slingshot effect Box2d. Currently i need help on moving a body in its respective angles when the sling shot is used. The slingshot effect has been created using the Draw lines technique and a body is placed on it. Yes i know it requires core physics and I'm familiar that it requires components such as Angular Velocity, force, Mass, Time…etc. However i have done quite a bit of research but all in vain.
Now in my project the object moves haphazardly in different directions when the sling shot is used. Have tried all the permutations and combinations and now stuck here. If someone can suggest or answer with a sample code it would be really helpful
Regards,
Karthik