Skip to content
Antonio Valentini
  • Home
  • About
  • Contact
  • Privacy Policy
Menu Close
  • Home
  • About
  • Contact
  • Privacy Policy
Read more about the article Rotate an object towards the mouse position [2D]

Rotate an object towards the mouse position [2D]

  • Post author:Antonio
  • Post published:October 11, 2020
  • Post category:Game Development
  • Post comments:2 Comments

In this article I'll briefly explain how you can rotate an object, using Unity, in order for it to "look" at the mouse position. TL;DR Here's the code snippet which…

Continue ReadingRotate an object towards the mouse position [2D]

Recent Posts

  • How (not) to start a podcast – Part 1
  • Rotate an object towards the mouse position [2D]
  • Common needs when building enterprise software
  • Test your web app with Selenium, xUnit and .NET Core
  • Mapping objects made easy with AutoMapper

Categories

  • Development
  • Game Development
  • Podcast
  • Security

Archives

  • December 2022
  • October 2020
  • April 2020
  • January 2020
  • October 2019
  • November 2018
  • September 2018
  • April 2018
  • March 2018
Twitter Github Linkedin
  • About
  • Contact
  • Privacy Policy
Copyright 2023 - Antonio Valentini