the things I manually changed were adding Ball Impulse.cs and Bounce.PhysicalMaterial. I added rigidBody components to the ball and collision components to the ball and court. I also added a trail to the ball for visual aid. Ball Impulse is a script that just creates a 3d vector for momentum. I'm using the default gravity that came with the ball's rigidBody component, and I can find out later what the values for drag, impulse, or bounce are in real world units. Reviewed-on: #2 Reviewed-by: Blizzard Finnegan <blizzardfinnegan@gmail.com> Co-authored-by: Wesley Madden <wmadden314@gmail.com> Co-committed-by: Wesley Madden <wmadden314@gmail.com> |
||
---|---|---|
.. | ||
matlabUnityFiles | ||
tennis |