@boxbuilder-
"Static" and "Dynamic" have been dropped from the world body factory. It's now just:
If you want the body to be dynamic, just assign it a mass.
My branch is still a work-in-progress so many things will change between now and the first release. I can't really recommend using it right now. I will have to rewrite all of the examples if I want them to work with my branch. For example, the above example will have "CreateBody" with the first letter in lowercase:
"Static" and "Dynamic" have been dropped from the world body factory. It's now just:
Code:
world.CreateBody(bodyDef);
If you want the body to be dynamic, just assign it a mass.
My branch is still a work-in-progress so many things will change between now and the first release. I can't really recommend using it right now. I will have to rewrite all of the examples if I want them to work with my branch. For example, the above example will have "CreateBody" with the first letter in lowercase:
Code:
world.createBody(bodyDef);