Sorry to bother you, because this is not an issue exactly.
I'm learning from the source code, but I can't understand this sentence:
let x = position.x + 100 * Math.pow(1 + velocity.x, 2) * sign(velocity.x);
I think 100 * (1+velocity.x)^2 mey be a formula to calculate the displacement, but I can't describe where the 100 and 1 come from.
Could you please help me?
Sorry to bother you, because this is not an issue exactly.
I'm learning from the source code, but I can't understand this sentence:
I think
100 * (1+velocity.x)^2mey be a formula to calculate the displacement, but I can't describe where the 100 and 1 come from.Could you please help me?