-
Notifications
You must be signed in to change notification settings - Fork 259
Question about custom collision resolve function #862
Copy link
Copy link
Open
Labels
Description
Hi, I'm using rebound to simulation the collision stage during planet formation. And I want to record the relative velocities during the impacts.
I'm not sure when the rebound code (in python) call my custom collision resolve function, the simulation time is the collision time, or is the time before/after the step when collision happens.
I ask because I use the "line" method to detect collisions, and I'm not sure whether should I add extra correction to the relative velocities, or just take the difference between two particles.
Reactions are currently unavailable