Problem "Find look at location" Input touch

Hello Guys

I have several issues with setting “find look at location”

The Goal:
I trying to get actor rotated to face the touch/mouse input using only blueprints.

Problems:

  1. Input Touch is not working so i’m using “Get Hit Result Under Finger By Channel”.
  2. When i touch click and hold with mouse the actor is rotating, but when i release the actor is rotation back to the initial rotation.
  3. This whole thing needs to be in the rotating actor blueprint (reusable).

The rotation need to happen only on Z axis.

LevelBlueprint

When I click and hold:

When I release the mouse button

Input Settings:

When I use input Touch and click and hold:

So please guys any help is greatly appreciated.
If you need more info i’ll provide.

Thank you in advance.

Best Regards
THX2000

Hey THX2000,

I have looked over your blueprint and duplicated the exact blueprint myself however, I do not see the actor simply rotating as it sounds described. The character still has completely access to move around within the world. Please keep in mind I tested this using the third person blueprint, as it looked like what you were originally using. Would you mind zipping your project and sending me a link to it so that I can further investigate your claims?

If there is anything extra you’d like to add in, detail wise or anything you’ve noticed over the last couple of days, please feel free to do so.

Thank you!

Hi

I have send you message.

Thank you in advance

Regards
THX2000

Hey THX2000,

Alexander and I looked over your blueprint and we’ve gotten your template to correctly follow what you’ve been trying to achieve. Basically, in class defaults, you had the input blocked and that was causing some of the blueprint not to function correctly. Also, you had it set up for a touchpad. I’m not sure if you’re using a touchpad at home, but through the video you submitted, it sounded as if you were using a mouse.

I’ve attached a screenshot of the blueprint we’ve put together to achieve the goal you were looking for. If for some reason, this is not exactly what you were looking for, please just let me know and we’ll look into the project deeper.

Much appreciated. :slight_smile:

Hi I’ve send you another video

Regards
THX2000

The forum went down from my side
I’ll wait until is ok and i’ll send the video as it is not send yet cause of error

Hey THX2000,

Were you able to reproduce the same effect by using our blueprint example or were you trying to figure out something a bit differently?

Looking forward to assisting you, thanks! :slight_smile:

Hello
I was trying to get different result , I’ve sent the video as PM so please check it out it is saying exactly what i’m trying to achieve.

Thanks
Best Regards
THX2000

Hey THX2000,

Thanks for all of the information you sent to me via PM. I have managed to get the result that you’re looking for. Please look at the screenshot provided to be a guided example on how to achieve the camera to follow your mouse/touch input. Keep in mind that the character will continue to follow the mouse because the character is included in the template. You would have to take the character out and change the cameras around in order to get exactly what you’re trying to create.

I also added a screenshot of where the ‘input’ section is so you can choose to block input on certain blueprints.

I hope this helps you with the project you’re creating, please let us know if you have any further questions.

Thank you and have a wonderful weekend. :slight_smile: