Added improved player mechanics, physicist categories, and improved proximity triggers.

Use a variable and set its value as appropriate and use only one return statement if possible. It makes for cleaner code.