Hi!
I only just got Adventure Creator yesterday and am having lots of fun learning the ins and outs, however now I've seem to have come to a grinding halt.
I'm trying to set up a scene where a character is only able to move left to right, so I'm using "Sprites Unity Complex" and have set up the animations, bool and integers for "Speed" and "Direction".
The character successfully goes from idle to walking cycle, but my problem is that the character will just fly up in the sky and out of view no matter what direction I'm pressing on the directional keys. In the Animator parameters, I've set "Direction" to 2 by default which should signify right, however as soon as I press play, it goes to 3 suggestion Up and then it stays there completely ignoring keyboard input.
Anyone have a suggestion on how I can get this to work?
I've also set the settings for movement method to direct and input method to keyboard or controller.
Any help would be great!
Comments
If you don't want to make use of up/down movement at all, you can use the Player: Constrain Action to lock those movement directions.
Once you have movement correct, you may want to change your Player's animation engine to Sprites Unity Complex, as opposed to Sprites Unity with is easier to set up but assumes 4- or 8-directional movement. Sprites Unity Complex works by affecting Mecanim parameters, so that you can control your animations however you wish - leaving up up and down walk/idle animations, for example. More info on this can be found in the Manual's Section 3.9.