playMaker

Author Topic: How do I get the angle between my character and my mouse  (Read 1561 times)

Kioll77

  • Playmaker Newbie
  • *
  • Posts: 2
How do I get the angle between my character and my mouse
« on: February 24, 2022, 08:30:59 AM »
Hello, I'm new to unity and playmaker, trying to make my first game.
i'm basically making an isometric shooter.
What i'm trying to do is find the angle made by my mouse compared to my character so I can play an animation based on the value of this angle.
I tried multiple things found online but none helped me get this particular angle.
Maybe I'm missing a super easy way to do it, anyway, thanks for your help.
« Last Edit: February 24, 2022, 03:18:33 PM by Kioll77 »

Kioll77

  • Playmaker Newbie
  • *
  • Posts: 2
Re: How do I get the angle between my character and my mouse
« Reply #1 on: March 10, 2022, 08:20:10 PM »
Little up, if anyone can help me thanks.

TrueSoSense

  • Playmaker Newbie
  • *
  • Posts: 17
Re: How do I get the angle between my character and my mouse
« Reply #2 on: March 13, 2022, 06:49:26 AM »
You want the torso to look at the mouse ?