Documented by: Candy Bi
Project name: Slope
Professor: Moon
Date: 3/12/2019
Description:
I made a solid slope for assignment 4 which would make the balls bouncing on it. The slope is made as a single line.
To create the effect of balls bouncing on a solid slope, I caculate the angle of the slope and add a force verticle to it to those balls. At first, I just check the position of the balls relevent to the slope and the balls seem to be half-inside the slope: 1.
To make it more natural, I put the “p.size” into my calculation: 2.
Then I make the balls transparent to make it looks prettier: 3.