Basic physics working

Cleaned up custom physics scripts. Still need character handling fixes.