Reply To: Why do we need the GetComponent at all at 4:13? We already have the projectile as a Rigidbody through the public variable.

Forum Archive Why do we need the GetComponent at all at 4:13? We already have the projectile as a Rigidbody through the public variable. Reply To: Why do we need the GetComponent at all at 4:13? We already have the projectile as a Rigidbody through the public variable.

#23013
Jonathan Gonzalez
Participant

    Yes I see what you’re talking about, it was unnecessary since we don’t need to access anything within the component itself. Not sure why I added it actually as I never do that with projectiles. Thanks for pointing it out.