Skip to content

Commit 2b3d42c

Browse files
committed
Physics: Fix build error
1 parent c63b3e7 commit 2b3d42c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Projects/Skylicht/Physics/CharacterController/CCharacterController.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ namespace Skylicht
4747
#endif
4848
{
4949
m_collisionType = ICollisionObject::Character;
50+
#ifdef USE_BULLET_PHYSIC_ENGINE
5051
m_group = btBroadphaseProxy::CharacterFilter;
52+
#else
53+
m_group = 32;
54+
#endif
5155
}
5256

5357
CCharacterController::~CCharacterController()

0 commit comments

Comments
 (0)