Gamebop / physics

Physics components for PlayCanvas
https://gamebop.github.io/docs/
3 stars 1 forks source link

Verify constants #23

Closed LeXXik closed 5 months ago

LeXXik commented 5 months ago

Need to verify the following constants are correctly mapped after we moved to modules.

            // 'JOLT_MOTION_TYPE_STATIC', Jolt.EMotionType_Static,
            // 'JOLT_MOTION_TYPE_DYNAMIC', Jolt.EMotionType_Dynamic,
            // 'JOLT_MOTION_TYPE_KINEMATIC', Jolt.EMotionType_Kinematic,

            // 'JOLT_OMP_CALCULATE_INERTIA', Jolt.EOverrideMassProperties_CalculateInertia,
            // 'JOLT_OMP_CALCULATE_MASS_AND_INERTIA', Jolt.EOverrideMassProperties_CalculateMassAndInertia,
            // 'JOLT_OMP_MASS_AND_INERTIA_PROVIDED', Jolt.EOverrideMassProperties_MassAndInertiaProvided,

            // 'JOLT_ALLOWED_DOFS_TRANSLATION_X', Jolt.EAllowedDOFs_TranslationX,
            // 'JOLT_ALLOWED_DOFS_TRANSLATION_Y', Jolt.EAllowedDOFs_TranslationY,
            // 'JOLT_ALLOWED_DOFS_TRANSLATION_Z', Jolt.EAllowedDOFs_TranslationZ,
            // 'JOLT_ALLOWED_DOFS_ROTATION_X', Jolt.EAllowedDOFs_RotationX,
            // 'JOLT_ALLOWED_DOFS_ROTATION_Y', Jolt.EAllowedDOFs_RotationY,
            // 'JOLT_ALLOWED_DOFS_ROTATION_Z', Jolt.EAllowedDOFs_RotationZ,
            // 'JOLT_ALLOWED_DOFS_PLANE_2D', Jolt.EAllowedDOFs_Plane2D,
            // 'JOLT_ALLOWED_DOFS_ALL', Jolt.EAllowedDOFs_All,

            // 'JOLT_MOTION_QUALITY_DISCRETE', Jolt.EMotionQuality_Discrete,
            // 'JOLT_MOTION_QUALITY_LINEAR_CAST', Jolt.EMotionQuality_LinearCast,

            // 'JOLT_BFM_IGNORE_BACK_FACES', Jolt.EBackFaceMode_IgnoreBackFaces,
            // 'JOLT_BFM_COLLIDE_BACK_FACES', Jolt.EBackFaceMode_CollideWithBackFaces,

            // 'JOLT_GROUND_STATE_ON_GROUND', Jolt.EGroundState_OnGround,
            // 'JOLT_GROUND_STATE_ON_STEEP_GROUND', Jolt.EGroundState_OnSteepGround,
            // 'JOLT_GROUND_STATE_NOT_SUPPORTED', Jolt.EGroundState_NotSupported,
            // 'JOLT_GROUND_STATE_IN_AIR', Jolt.EGroundState_InAir,

            // 'JOLT_TRANSMISSION_AUTO', Jolt.ETransmissionMode_Auto,
            // 'JOLT_TRANSMISSION_MANUAL', Jolt.ETransmissionMode_Manual,

            // 'JOLT_SPRING_MODE_FREQUENCY', Jolt.ESpringMode_FrequencyAndDamping,
            // 'JOLT_SPRING_MODE_STIFFNESS', Jolt.ESpringMode_StiffnessAndDamping,