I’ve recently found Drag-Shot Mover v01 - and successfully used the C# version with a couple minor
modifications:
dragDistance = Mathf.Clamp((mousePos - transform.position).magnitude, 0, magBase);
// calculate the force vector
if (dragDistance * magMultiplier < 1) dragDistance = 0; // this is to allow for a "no move" buffer close to the object
forceVector = mousePos - transform.position;
forceVector.Normalize();
forceVector *= dragDistance * magMultiplier;
This works mostly well for the project I am building - however, my final goal is to turn this into an arc
instead of an impulse applied to the game object. To do so, I need a target for the calculation. What
would be the best way to predict where the force is going to send the object?