Lame note 29-cocos2d-x-3.2 Box2d physical engine dynamics module introduction, cocos2dbox2d
Previous review
This famous saying goes:Struggle, search, and discover without giving in.[Poet Ding nisheng]
In the previous article, we learned the collision module, one of the three main modules of the Box2d physical engine. This module mainly contains shape, collision function, dynamic tree, and other concepts.
This time, I learned about the dynamics module.
Introduction
The Dynamics module is the most complex of the Box2d engine and the most commonly used module. This module is built on the common and collision modules, so we need to first understand the common and collision modules.
The Dynamics module contains the following categories:
Extends fixture class
Rigid body class
Contact class
Joint classes
World class
Listener classes
The concepts of these classes have been introduced at the very beginning, and I will not be so embarrassed here.
However, we need to remember that these classes are mutually dependent.
Summary
In order to form a more obvious classification, it is so easy to take this note. Next, he will continue to learn the main classes in the Dynamics module of the Box2D physical engine.
How to Use the box2d physical engine in vc ++ 60?
It is estimated that you do not include box2d. X
An error occurs because the compiler cannot find the box2d. h or box2d. cpp file.
You need to find this file and put it in the Vc installation directory.
Or you can put the function of this file in a file named box2d. h or box2d. cpp.
Then add the project you wrote and compile it.
You should download and install the box2d for VC package.
How to Use Xcode tools to add Box2D physical engine to the cocos2d-x framework?
In this case, the solution is to go to the box2d source code and copy and paste it in ..