informa
2 min read
article

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.

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!

Latest Jobs

Treyarch

Playa Vista, California
6.20.22
Audio Engineer

Digital Extremes

London, Ontario, Canada
6.20.22
Communications Director

High Moon Studios

Carlsbad, California
6.20.22
Senior Producer

Build a Rocket Boy Games

Edinburgh, Scotland
6.20.22
Lead UI Programmer
More Jobs   

CONNECT WITH US

Register for a
Subscribe to
Follow us

Game Developer Account

Game Developer Newsletter

@gamedevdotcom

Register for a

Game Developer Account

Gain full access to resources (events, white paper, webinars, reports, etc)
Single sign-on to all Informa products

Register
Subscribe to

Game Developer Newsletter

Get daily Game Developer top stories every morning straight into your inbox

Subscribe
Follow us

@gamedevdotcom

Follow us @gamedevdotcom to stay up-to-date with the latest news & insider information about events & more