/**
* Gets the linear momentum of this ball.
* @returns {number} - Kg * (m/s)
* @public
*/
get momentum() {
return this.mass * this.velocity.magnitude; // Momentum = m * v
}
Rather the momentum should be a vector quantity
/**
* Gets the linear momentum of this ball.
* @returns {number} - Kg * (m/s)
* @public
*/
get momentum() {
return this.mass * this.velocity // Momentum = m * v
}
Currently we have
Rather the momentum should be a vector quantity