Nadav-01 / Physics_Game

School project based on 2d physics. Written in Java. Pretty crappy, nothing to see here.
0 stars 0 forks source link

Implement angled walls + not recangular walls #15

Open Nadav-01 opened 5 years ago

Nadav-01 commented 5 years ago

Make walls angled (through angle field in their class). Update collision(proj,wall) function to work with new walls. (Will need to create new function in Vec_Math called flipAngle(double theta, Vect v);)

Nadav-01 commented 5 years ago

Maybe create walls that aren't rectangular?

Nadav-01 commented 5 years ago

Added roundwalls. Added flipAxis. Still needs to implement angled walls.

Nadav-01 commented 5 years ago

angled walls can be implemented with the transformation function in vec_math