Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: sefou on January 21, 2012, 08:40:18 AM
-
Hello all,
i find a way to split Horizontal Axis and Vertical Axis in 2 parts. The reason is i want to use Vertical Axis for an Srafing animation .
Thanks.
NB: Sorry for my english.
-
Hi,
Get Axis vector is actually a convenient action combining the "Get axis" action. so simply use GetAxis for the horyzontal input and another "Get axis" with the vertical input.
Is that clear?
Bye,
Jean
-
OK.
Thanks. :)
-
hello jeanfabre,
there is a problem :
Get axis vector contains 2 arguments : vector and float value.
Get axis only float value . I need vector value here.
Any advice ?
Thanks
-
Hi,
confused now :) You asked for splitting the vertical and horyzontal axis.
Maybe you are getting confused about the weird Unity terminology. An Input is also called an Axis, it's only a one dimension axis. It's just a value ranging most likely between -1 and 1.
So What kind of value are you after?
If you actually need to inject the input value to move a gui element, then you simply need to use one of the actions. If the actions requires a vector, simply create a variable and inject the input on the axis you want ( the up, forward, or right axis).
Hope this is clear. else can you explain what you are after and what you want to do exactly with the user input.
Bye,
Jean
Bye,
Jean
-
It's clear.
Thanks Jean. ;)