Showing posts with label Create physics body of the complex objects. Show all posts
Showing posts with label Create physics body of the complex objects. Show all posts

Saturday, January 24, 2015

[Tutorial] Cocos2d-x: Create physics body of the complex objects by using Physical Editor software

We know how to create physics in Cocos2d-x V3.0, but in the case that is a circle, so creating physics body is rather easy. if our object has complex boundary, how do we create?

This lesson has two parts:
+ Create PhysicsBody Polygons from images by Box2d-Editor software
+ Import into game and make Physics of Engine process through analysis functions.








Part 1: Create PhysicsBody Polygons

Posted By Live Blog7:07 AM

Choose an Android item