point detect in body
Posted: Wed Jan 14, 2015 4:53 am
Hello is there way to detect that point with coordinates (x,y) inside a body?
I'm using chipmunk with cocos2d js
I'm using chipmunk with cocos2d js
Support forum for the Chipmunk Physics engine
http://chipmunk-physics.net/forum/
Code: Select all
static void
Tick(double dt)
Code: Select all
static void
Click(int button, int state)
Code: Select all
cpVect new_point = cpvlerp(mouse_body->p, ChipmunkDemoMouse, 0.25f);