Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: heavygunner on September 06, 2018, 07:21:35 PM

Title: [SOLVED] Crossy Road Movement Issue
Post by: heavygunner on September 06, 2018, 07:21:35 PM
Hi !

Again, Following a Skillshare course.

When I pressed W, It's fine.

1st : I press W. Player will hop forward. (Default Position is 180'o looking forward)
2nd : I press S. Player should be rotated to 0' degree and go back.

But, when I press S, player is moving front while rotating to 0'degree. Pls watch the video.

Screen Record of Issue : Project File (4 MB w/out PlayMaker ) : https://drive.google.com/open?id=1cOaxKuSy9sVWuRfJhDmMu9U6aCLWQ2st

I attached the project file . Open scene called completed game , if u want to test.
Title: Re: Crossy Road Movement Issue
Post by: terri on September 07, 2018, 07:37:57 AM
It's only off on the first time right? I'd try adding a "next frame event" action on your set rotation states, so it only moves on the next frame
Title: Re: Crossy Road Movement Issue
Post by: psypol on September 07, 2018, 07:54:50 AM
i see that your set rotations are done in WorldSpace while the addforce is done in self.
maybe you should consider putting some consistency inbetween both things.
Title: Re: Crossy Road Movement Issue
Post by: heavygunner on September 07, 2018, 10:16:54 AM
i see that your set rotations are done in WorldSpace while the addforce is done in self.
maybe you should consider putting some consistency inbetween both things.

Instructor's demo video showing perfect gameplay, but not his project. I tried as you said, not working. Looks like I have to learn again :) Thank you for the help  :)

It's only off on the first time right? I'd try adding a "next frame event" action on your set rotation states, so it only moves on the next frame

Yay ! It is worked. Thank you very much.  8)