Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: MikeTelly on June 29, 2018, 12:56:41 AM

Title: Set Vector2 XY every frame not working [SOLVED]
Post by: MikeTelly on June 29, 2018, 12:56:41 AM
So I've got these 3 actions set up, and for some reason the vector2 isn't taking on the values from the Horizontal and Vertical Axis. Am I doing this right?

(https://i.imgur.com/laMfE1Q.png)
Title: Re: Set Vector2 XY every frame not working
Post by: djaydino on June 29, 2018, 07:18:25 AM
Hi.
I edited your post so the picture can be seen directly :)

The setup should work.

When playing do you see the values changing on the get axis variables (when pressing controller movements) ?

and is the state active?

Are there other fsms that manipulate the moveVectior variable?

Maybe the Multiply value (teleportMarkerSpeed) got set to somehow 0 while playing
Title: Re: Set Vector2 XY every frame not working
Post by: MikeTelly on June 29, 2018, 11:49:25 AM
Hi.
I edited your post so the picture can be seen directly :)

The setup should work.

When playing do you see the values changing on the get axis variables (when pressing controller movements) ?

and is the state active?

Are there other fsms that manipulate the moveVectior variable?

Maybe the Multiply value (teleportMarkerSpeed) got set to somehow 0 while playing

Aww jeez I'm dumb. Don't worry it works. I multiplied the variable in an action below but completely forgot to give the multiplier a non-zero value.
Title: Re: Set Vector2 XY every frame not working
Post by: djaydino on June 30, 2018, 12:19:05 PM
Hi.
No problem, even with me things like that still happens sometimes :D