From 7d1c6692316127ffe0df4a7fe53eb432f0d6dd48 Mon Sep 17 00:00:00 2001 From: halx99 Date: Sun, 8 Nov 2020 13:20:36 +0800 Subject: [PATCH] Sets box2d as default physics 2d engine --- cocos/base/ccConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos/base/ccConfig.h b/cocos/base/ccConfig.h index deae7c6828..4c404ed51b 100644 --- a/cocos/base/ccConfig.h +++ b/cocos/base/ccConfig.h @@ -258,12 +258,12 @@ THE SOFTWARE. #if (CC_USE_PHYSICS) /** Use chipmunk physics 2d engine. */ #ifndef CC_ENABLE_CHIPMUNK_INTEGRATION -#define CC_ENABLE_CHIPMUNK_INTEGRATION 1 +#define CC_ENABLE_CHIPMUNK_INTEGRATION 0 #endif /** or use box2d physics 2d engine. */ #ifndef CC_ENABLE_BOX2D_INTEGRATION -#define CC_ENABLE_BOX2D_INTEGRATION 0 +#define CC_ENABLE_BOX2D_INTEGRATION 1 #endif #endif // CC_USE_PHYSICS