All Questions

Community

L
Livewire

Why Vector2.(0, 0) and not Vector2.ZERO ?

Is there a specific reason why in the homingrocket script we use Vector2.(0, 0)?
I was under the impression Vector2.ZERO basically did Vector2.(0, 0) anyway?

So was wondering if theres some key difference I am missing/misunderstanding, or if it doesn't matter and you just wrote it differently this time :D ?

  • Nathan Lovato replied

    You're correct, Vector2.ZERO and Vector2.(0, 0) are the exact same value. We just happened to write it slightly differently this time.