PlayMaker Help & Tips > PlayMaker Help

[Solved] Get character to look at mouse position via get axis vector

(1/1)

autumnboy:
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

jeanfabre:
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:
Whoops I missed this post. Yep that's what I was after. Thanks

Cheers,
Josh

Navigation

[0] Message Index

Go to full version