Fixed bug where velocity didn't update
fixed name of misleadingly-named function
implemented "when planes collide" function

(didn't test)
fixed using wrong type