Hi
I looked at the moonbuggy tutorial, it's really hard for me to grasp the idea of applying the chipmunk physics
for example to a sprite, I mean how to assign the body to a sprite using cocos2d for iphone?
Thanks in advance!!
cocos2d chipmunk simple sprite coolision?
-
- Posts: 4
- Joined: Tue Apr 28, 2009 7:57 pm
- Contact:
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: cocos2d chipmunk simple sprite coolision?
cpBody objects have a position and rotation parameter. You would use that when drawing your sprite.
I've never actually used cocos2d though. You could probably get better answers from their own forums.
I've never actually used cocos2d though. You could probably get better answers from their own forums.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
-
- Posts: 4
- Joined: Tue Apr 28, 2009 7:57 pm
- Contact:
Re: cocos2d chipmunk simple sprite coolision?
I got it, it works!
Thanks!!
Thanks!!
Who is online
Users browsing this forum: No registered users and 20 guests