Sponsored By

How To Rotate Your Hero Smoothly To Your Mouse Cursor in UE4 (No Coding Needed).

Without a doubt, you will continue to keep re-using some important game mechanics. Why not have an inventory of game procedures that you can refer to for… let’s say, how to rotate your hero to look at your mouse cursor. Well here you go, in animated gifs.

Markus Skupeika, Blogger

December 9, 2015

1 Min Read

You ever do something in your game code then a week or month passes and you say.. "How did I do that again?" Well, thats when I began to put together an inventory of procedures for game mecanics using unreal engine 4.

What's cool is.. unreal engine 4 will allow you to do it in Blueprints or C++. For this example, I am using the visual blueprints. So if you are a UE4 game dev or possibly may be looking for the logic to do this mechanic, below is how to get the result from the image below.

Let's Rotate Your Hero In That Top Down Indie Game:

Rotating Your Hero to Look at The Mouse

Rather than going into all the text and step by step, I posted the procedure below and on in our Game Industry Procedures section of Dream Bot Studios, if you are interested.

A Look At Blueprints Of The Process:

UE4 Blueprint - How To Rotate Player To Look At Mouse Cursor.

 

Interested In Connecting or Being Updated On New Procedures?

I enjoy connecting to other indies, so by all means... don't be shy. Tweet me or Facebook us. I will usually be posting new procedures and business feedback from our games. I would like to add help where I can for you and other passionate developers. Talk to you laterz!

Read more about:

Blogs
Daily news, dev blogs, and stories from Game Developer straight to your inbox

You May Also Like