Home > other >  Cocos2d - how to use LUA Physics3D physics engine?
Cocos2d - how to use LUA Physics3D physics engine?

Time:09-20

Reference cocos2d lua - tests of Physics3DTest example, to create the 3 d elves, and set up corresponding Physics3DComponent; And rigidBody: setCollisionCallback (,,,,,,) collision callback function;
And physics3DWorld: setDebugDrawEnable (true) can see every 3 d elf when collision happens, but there were no into setCollisionCallback set collision callback function, excuse me, what if they were going to set the place?

I have been in the VS2015 installed inside the precompiled CC_ENABLE_BULLET_INTEGRATION=1, use the

Cocos2d - please use lua Physics3D physics engine, where is the need to set it for me? Thank you very much!

CodePudding user response:

Ever know, thank you
  • Related