// Start is called before the first frame update void Start() { rb2D = GetComponent <Rigidbody2D>(); rb2D.velocity = VectorUtilities.AngleToVector2(135) * initialVelocity; Physics2D.IgnoreLayerCollision(0, 9); }