Chipmunk cp.spaceFree error processing arguments

Official forum for the Chipmunk2D Physics Library.

Chipmunk cp.spaceFree error processing arguments

Postby sortris » Sun Dec 21, 2014 7:12 pm

Could anyone tell me why I am getting 'error processing arguments' error during execute of spaceFree method?
I use Cocos2dx JSB 2.2.3

My code:

Code: Select all
space = new cp.Space();
space.gravity = cp.v(0, -800);
space.iterations = 30;
space.sleepTimeThreshold = Infinity;
space.collisionSlop = Infinity;

cp.spaceFree(space);

Kind regards
sortris
 
Posts: 4
Joined: Mon Oct 21, 2013 8:34 am

Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 1 guest

cron