About 'Jump if IsTouchingLayers'!

In this video (objectives)…

  1. Review how layers work as a way to apply the same functionality to many GameObjects.
  2. Implement IsTouchingLayers for our collision check.
  3. Only allow the player to jump if he is touching the ground.

After watching (learning outcomes)…

Make the player jump only when touching the ground layer.

(Unique Video Reference: 14_TV_CUD)

We would love to know…

  • What you found good about this lecture?
  • What we could do better?

Remember that you can reply to this topic, or create a new topic. The easiest way to create a new topic is to follow the link in Resources. That way the topic will…

  • Be in the correct forum (for the course).
  • Be in the right sub-forum (for the section)
  • Have the correct lecture tag.

Enjoy your stay in our thriving community!

1 Like

Not sure if this was a glitch, or something on my end, but when I created the new Ground layer and applied it to the foreground, it was not visible in Scene view (but was in game). Turns out when the new layer was created, it defaulted to hidden under the Layers dropdown (eye was closed). Changing that fixed things.

Gotcha, thanks for sharing.

Privacy & Terms