About 'Move Object With Mouse'!

In this video (objectives)…

  1. Find the position of the mouse on the screen.
  2. Convert the mouse position into a relative proportion of our screen represented as game units.
  3. Link movement of our mouse to movement of our paddle.

After watching (learning outcomes)… Move a game object so that it matches the position of the player's mouse.

(Unique Video Reference: 8_BR_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

Good job on the explanation. While I changed my variable names to match yours after the challenge, I got this one. The act of going through these exercises has been helpful.

-Rob

2 Likes

This was confusing at the end. We never discussed changing the Debug.log to setting up the variable - (this part) float mousePosInUnits. Some tweak in the explanation might help here.

Privacy & Terms