Rigidbody2D not being Found

Hi Jobson,

Welcome to our community! :slight_smile:

Christopher is right. You don’t want to call (.) the GetComponent method on the object assigned to rb. Instead, you want to assign (=) a Rigidbody2D object to rb.

Remember you can also look at the lecture code changes via the link in the Resources of each lecture.


See also:

1 Like