I see problem, is not a bug just a recommandation
on Module definition you can have multiple export of same name
for example PhysX.eFORCE is
Module['eFORCE'] = _emscripten_enum_PxForceModeEnum_eFORCE(); 0
but also
Module['eFORCE'] = _emscripten_enum_PxArticulationCacheFlagEnum_eFORCE(); 8
Module['eFORCE'] = _emscripten_enum_PxArticulationDriveTypeEnum_eFORCE(); __ 0
so take care to always use full definition
PhysX._emscripten_enum_PxForceModeEnum_eFORCE();
istead of PhysX.eFORCE
I see problem, is not a bug just a recommandation on Module definition you can have multiple export of same name
for example PhysX.eFORCE is Module['eFORCE'] = _emscripten_enum_PxForceModeEnum_eFORCE(); 0 but also Module['eFORCE'] = _emscripten_enum_PxArticulationCacheFlagEnum_eFORCE(); 8 Module['eFORCE'] = _emscripten_enum_PxArticulationDriveTypeEnum_eFORCE(); __ 0
so take care to always use full definition PhysX._emscripten_enum_PxForceModeEnum_eFORCE(); istead of PhysX.eFORCE
that true for many flag ( eX, eTWIST ... )