Added entity collision callback; removed unused trigger stuff.