chipmunk
Removing bodies from joints in Chipmunk Physics
In Box2D, when a body that is connected to a joint is removed from the space, the joint is automatically deleted and you can do 开发者_如何学编程stuff in callbacks and so on.[详细]
2023-01-21 15:55 分类:问答Developing A Simple Game without using Game Engines?
I am trying to develop a simple soccer game including penalty kicks in which i have to animate a ball from player to the goal post...earlier i have been using simple animations using a timer to add to[详细]
2023-01-15 12:44 分类:问答Move Chipmunk Body to Sprite position
I have a Chipmunk shape, with a body, in a space.I am removing the body from the space so t开发者_如何转开发hat I can position it and not have it fall due to gravity etc.I need to be able to make this[详细]
2023-01-10 04:13 分类:问答Ball rolling sound effect
I am working on a Labyrinth style app for iPhone using Chipmunk and openAL. I got everything working except the ball rolling sound. What I hav开发者_开发百科e tried is playing a small sound for each u[详细]
2023-01-09 11:31 分类:问答Chipmunk: How to remove shape and body?
First, sorry for my English, im not an American. My question is how can I remove the shape and body from the space, this isn\'t related with collision detection. Im triying to do this with a touch eve[详细]
2023-01-08 13:48 分类:问答Use Chipmunk body location to drive Cocos2D Parallax
I\'m using Chipmunk with SpaceManager inside of Cocos2D.I have a body which is moving around with impulse开发者_运维技巧s, I\'d like to be able to use that bodies location to drive a parallax node in[详细]
2023-01-08 06:57 分类:问答Projectile hit coordinates at the apex of its path
I have a projectile that I would like to pass through 开发者_运维知识库specific coordinates at the apex of its path.I have been using a superb equation that giogadi outlined here, by plugging in the v[详细]
2023-01-07 01:19 分类:问答Changing a CCSprite anchor point when attached to a static body
I\'m creating a static shape in chipmunk (using SpaceManager) and attaching a cpCCSprite to it. However, I need the anchor point of the sprite to be off center, but when I change the anchor point of[详细]
2023-01-06 23:05 分类:问答Cocos2D Asteroids
For school I have to make a game for my iPod touch, I chose to do an asteroids game. I have just started with cocos2d but have read the wenderlich blog. I wanted to use chipmunk in my game, i want rea[详细]
2023-01-06 06:11 分类:问答Check collision speed in Chipmunk Physics
I\'m using Chipmunk 5 for iPhone, with Cocos2D.Upon collision between two specific objects I\'d like to run a method which checks the velocity of that collision, if it\'s over x it runs one set of cod[详细]
2023-01-05 09:51 分类:问答