Simulating a ball throw motion

Official forum for the Chipmunk2D Physics Library.

Simulating a ball throw motion

Postby lazyme » Wed Nov 03, 2010 8:09 pm

I am new to iPhone programming and am trying to develop a basketball game where I try to swipe a ball into the basketball hoop. I have managed to create a ball sprite and move it in a line. I believe I can use chipmunk to assign velocity and gravity to sprites and simulate the throwing(bending) of the basketball. I dont mind having a constant velocity just interested in achieving the motion.

But I dont know where to start. Can someone please help me with this. Also if there are any links, tutorials that will help me achieve what I want please let me know.
lazyme
 
Posts: 1
Joined: Wed Nov 03, 2010 7:48 pm

Re: Simulating a ball throw motion

Postby slembcke » Wed Nov 03, 2010 11:13 pm

Looking at the demos that come with Chipmunk are a good place to start.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm


Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 1 guest

cron