Get the speed of this object * @return {number}
()
| 435 | /** Get the speed of this object |
| 436 | * @return {number} */ |
| 437 | getSpeed() { return this.velocity.length(); } |
| 438 | |
| 439 | /** Apply acceleration to this object (adjust velocity, not affected by mass) |
| 440 | * @param {Vector2} acceleration */ |