playMaker

Author Topic: [SOLVED] Crossy Road Movement Issue  (Read 1596 times)

heavygunner

  • Sr. Member
  • ****
  • Posts: 344
[SOLVED] Crossy Road Movement Issue
« 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.
« Last Edit: September 07, 2018, 10:18:00 AM by heavygunner »

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Crossy Road Movement Issue
« Reply #1 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

psypol

  • Playmaker Newbie
  • *
  • Posts: 39
Re: Crossy Road Movement Issue
« Reply #2 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.

heavygunner

  • Sr. Member
  • ****
  • Posts: 344
Re: Crossy Road Movement Issue
« Reply #3 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)