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.
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.