Hi there. I’m working on a minigolf game for a class project and one thing I want to do is make my ball roll up and down sloped hills. The hills are simple rectangles and I have normal vectors for each one. The easy way seems to be taking the normal and making a perpendicular axis to it and setting the ball along that axis. I’m not quite sure how to go about that though.
Any ideas?