physics3d-constants.lua 261 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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, }