playMaker

Author Topic: [Solved] Get character to look at mouse position via get axis vector  (Read 1363 times)

autumnboy

  • Junior Playmaker
  • **
  • Posts: 73
Hi all
 I've got a character currently set up to rotate towards a mouse pick and it works 100% correct and well.

Though I want to be able to change sensitivity on the mouse and I can only do this via get axis vector. Get axis vector stores a vector but it's normalized.

Is there a way I can use get axis vector in conjunction with something to either get the position of the mouse or is there a way to convert the normalized vector into a world space rotation? Or would is there another way I could go about this.



Thanks,
Josh
« Last Edit: January 13, 2019, 07:03:25 AM by autumnboy »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get character to look at mouse position via get axis vector
« Reply #1 on: October 18, 2018, 03:58:50 AM »
Hi,

I am not sure I fully understand what the position of the mouse has to do with sensitivity? do you want some lag? if yes then have a dummy follow strictly the mouse position, then another dummy moving towards it ( which is your lag), and then use that second dummy as your pointing direction for rotating.

else, can you define a bit more?

 Bye,

 Jean

autumnboy

  • Junior Playmaker
  • **
  • Posts: 73
Re: Get character to look at mouse position via get axis vector
« Reply #2 on: January 13, 2019, 07:02:04 AM »
Whoops I missed this post. Yep that's what I was after. Thanks

Cheers,
Josh