fromValue

Converts a numerical value to the corresponding enum value

Return

A MPCollisionHandling enum

Parameters

value

the numeric value of the enum, if this overflows the number of enums, it will clamp to the enum with the highest value