Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: autumnboy on October 12, 2018, 09:18:02 PM

Title: [Solved] Get character to look at mouse position via get axis vector
Post by: autumnboy on October 12, 2018, 09:18:02 PM
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
Title: Re: Get character to look at mouse position via get axis vector
Post by: jeanfabre 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
Title: Re: Get character to look at mouse position via get axis vector
Post by: autumnboy on January 13, 2019, 07:02:04 AM
Whoops I missed this post. Yep that's what I was after. Thanks

Cheers,
Josh