About 'ViewPortToWorldPoint()'!

In this video (objectives)…

  1. Construct our gameplay boundaries using the method ViewPortToWorldPoint().
  2. Clamp our horizontal and vertical movement based upon our boundaries.
  3. Add padding so that the player does not go off screen.

After watching (learning outcomes)… Limit your player's ship movement based upon relative camera space.

(Unique Video Reference: 5_LD_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!

Privacy & Terms