axmol/cocos/scripting/lua-bindings/script/physics3d/physics3d-constants.lua

17 lines
261 B
Lua
Raw Normal View History

2019-11-23 20:27:39 +08:00
if nil == cc.Physics3DComponent then
return
end
cc.Physics3DComponent.PhysicsSyncFlag =
{
NONE = 0,
NODE_TO_PHYSICS = 1,
PHYSICS_TO_NODE = 2,
NODE_AND_NODE = 3,
}
cc.Physics3DObject.PhysicsObjType =
{
UNKNOWN = 0,
RIGID_BODY = 1,
}