I am developing a top down board game using chipmunkJS. I have a circle body (carom board striker) having following parameters
radius → 30 Density → 2 friction → 0.6 elasticity → 0.6
circle also having a positive moment of inertia.
and a carom wall…
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.
Does Chipmunk do this? If so, how can I detect when a joint connection is 'broken'? Do I…
I've been a Box2D user, but now I'm looking into Chipmunk. I don't think I want to leave my CCD behind though. Sources I'm finding all seem to indicate that Chipmunk does not implement CCD, but these sources are also all over a year old. I saw…
I'm making a game, using cocos2d-js 3.10. on android device, my game always stuck about 1->2 second each 20 seconds, it makes players feeling uncomfortable. I'm making a game shooting helicopter, i think may be because of cocos garbage collection or…
Im using Chipmunk with Cocos2d to make a gravity based puzzle game, however I have reached a part of my project whereby I need a sprite that once drawn does not move and cannot be moved by the other sprites within the environment.
In essence...
Can…
I'm trying to port someone else's C# code to Xojo. There is the following definition in a class:
static cpCollisionHandler cpCollisionHandlerDefault = new cpCollisionHandler(
cp.WILDCARD_COLLISION_TYPE, cp.WILDCARD_COLLISION_TYPE,
…
[SOLVED]
I copy the chipmunk folder structure from cocos2d+chipmunk template and build OK.
Classes/Chipmunk/include/src for 'src' folder
Classes/Chipmunk/chipmunk for 'include' folder
Thanks to Beta for trying to help.
:::::
I download chipmunk…
I am developing a game for iOS using cocos-2dx to make the performance better, i have used chipmunk body added successfully but on run time when my sprite is moving on the screen the body stays on its original position let me paste the code.
void…
I have a Chipmunk shape, with a body, in a space. I am removing the body from the space so that I can position it and not have it fall due to gravity etc. I need to be able to make this body move, so I am not making it static.
I need the body to…
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 event, specifically I'm trying to clear a ball…
I'm developing a cocos2d-x game (version 3.8). My game uses chipmunk physics and it has a static body that works like an interruptor. This interruptor is enabled when another body is over it. The interruptor is disabled when bodies separate each…
I'm using Cocos2D, SpaceManager and Chipmunk. I have a parallax node with 4 layers on it, this is tied to the location of a playable chipmunk body. This body needs to collide with static objects on one of the parallax layers, the static bodies…
I'm using Chipmunk with SpaceManager inside of Cocos2D. I have a body which is moving around with impulses, I'd like to be able to use that bodies location to drive a parallax node in Cocos2D.
So, when body 'a' moves to the left, the parallax…
I want to make a 2d skeleton, where each bone can be controlled from code. They also should have an accurate collision detection and physics.
I have tried to make sprites with physical bodies and then make one sprite a child of the other. But when I…
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 velocity values it produces into chipmunk's cpBodyApplyImpulse…