Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Saputo on March 01, 2013, 01:07:26 PM

Title: Controller simple move(Solved)
Post by: Saputo on March 01, 2013, 01:07:26 PM
Why does the Controller Simple Move, force Gravity? Is there a Custom Made action that does the same thing but removes the Force of Gravity?

I have to us Controller Move , So my Char will move, b.c i'm making a 2d Game that is on a 90 Degree angle with a Top View, so I cant use gravity, but without using Controller Simple Move I cant adjust the chars. movement speed.
Title: Re: Controller simple move
Post by: Red on March 01, 2013, 02:17:49 PM
I think this one is more on the Unity devs' heads than it is on Playmaker's head since the character controller that the simple-move action needs to function has gravity already coded in to it...

I did a couple basic tests with this... first i tried to reach into the attached rigidbody with the character controller to disable the "use gravity" boolean value... that didn't produce some very nice results for me (though i have only done a quick setup and didn't delve too much into it.)

but, have you tried instead of the "controller simple move" action the "Controller move" action? you might have to do a bit of maths on the vector3 variable that you have to feed it if you want to adjust the speed (the "Vector3 multiply" action should do it for you just make sure to save the result to a new vector3 variable just in case and to isolate the two vectors from eachother) but that one seems to work similar to the simple move but without the gravity applied to it.

try playing around with those for a bit and see if those will help your situation... if they aren't cutting it, something that would help would be to post a screenshot of how you have it set up so that we can see how it's doing it's thing.
Title: Re: Controller simple move
Post by: Saputo on March 01, 2013, 02:28:49 PM
Got it, I set the Vector on the Controller Move I had it at -5 thinking that it was fine, but I changed it to -10 and the char now walks much faster