I need help

In the lecture when barrys head touches the ground it gets repealed like it is an object but it is suposed to be a triger so my head just falls through the ground like a triger. WHAT AM I DOING WRONG!

Hi odinn,

You are not doing anything wrong. The head collider is a trigger collider.

Actually, Rick’s Barry should have dived into the ground instead of bouncing off. In later videos, you can see, that he doesn’t bounce anymore. Rick suspects that the surface effector made the head bounce in this case. Sometimes, there are undesired side-effects, and since we didn’t write the Collider2D classes or the surface effector class ourselves, we cannot prevent those side-effects.

Did this clear it up for you?


See also:

1 Like

Thank you that was extreamly helpfull.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms