Do you know if its possible (and desirable in term of performance) to draw the path that will take a physics object once a force will be applied on it ?
To be more specific, I’m trying to code a small basketball game in which you have to shoot to the goal from a fixed position. The player can only adjust the scale of a vector that point toward the goal by pressing the space bar and the height of the y axis by pressing it again. Then this vector is used to apply an impulse on the ball ( an exemple is available here Babylon Template )
What I want to do is to give to the player a live preview of where his shot’s adjustments will lead the ball by displaying a curve that will show the path of the ball if the applyImpulse was applied with the current user defined parameters.