public void setVelocity(IVector2 direction, IFloat speed) { velocity = direction.toFixVector2() * speed.toFix64(); }