Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: justifun on March 26, 2012, 12:21:54 PM

Title: [SOLVED] Playmaker or Unity bug??? Get axis vector action
Post by: justifun on March 26, 2012, 12:21:54 PM
Came across an interesting possible bug, but i'm not sure if its a unity or a playmaker action issue.

If you create a Get Axis Vector action but only want to use one of the axis EG: vertical
and you specify "NONE" for the other, or leave it blank, then your action will not work correctly.  The behavior of the input does not work correctly.  The vector that gets outputted does not map into a characters controller properly.  Something is screwy with the math.

However you can work around it by creating a new input type and taking out its ability to do anything but assigning the other axis to that input name eg: BLANK

then the vertical input axis store vector gets calculated correctly when using it with a controller move action for example.

This whole point is moot if you just use the custom action "Get axis vector 2" instead, but i thought i should point it out. for those who may stumble across it.
Title: Re: Playmaker or Unity bug??? Get axis vector action
Post by: Alex Chouls on March 29, 2012, 01:54:19 PM
I posted an update that lets you leave an axis blank:
http://hutonggames.com/playmakerforum/index.php?topic=1302.0