FrisPy icon indicating copy to clipboard operation
FrisPy copied to clipboard

Reimplement the frisbee hitting the ground as a Callable event

Open tmcclintock opened this issue 5 years ago • 0 comments

scipy.integrate.solve_ivp allows for callable "event" objects to be passed to the solver. This is an elegant way to handle the disc hitting the ground, since it can let the integrator terminate early.

This could also let the code support non-flat grounds (e.g. simulating throwing over a hill).

tmcclintock avatar Dec 07 '20 02:12 tmcclintock