Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cp body #1092

Merged
merged 8 commits into from
Nov 12, 2014
Merged

Cp body #1092

merged 8 commits into from
Nov 12, 2014

Conversation

zhaijialong
Copy link
Contributor

cc.log(joint);
});
body.eachArbiter(function(arbiter){
cc.log(arbiter);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no arbiter in this test, please add one later.
A test for no arbiter body is also important, so add one arbiter after this eachArbiter call, then do a eachArbiter call again after added one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can't add an arbiter manually, arbiter is used internally and we can only retrieve it from callback when collision accurs.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I get it, no problem

@pandamicro
Copy link
Contributor

Review done, No problem in the logic

Test done on Mac and iOS, no problem.
Need to add arbiter to test eachArbiter, but it's already good to merge

dingpinglv added a commit that referenced this pull request Nov 12, 2014
@dingpinglv dingpinglv merged commit 4e78250 into cocos2d:develop Nov 12, 2014
@zhaijialong zhaijialong deleted the cp_body branch November 12, 2014 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants