Some more collision

some more code that im using to implement x collision. not working yet