YesNoOk
avatar

Turn p2 when hit in custom state (Read 1422 times)

Started by MGMURROW, August 01, 2020, 06:00:21 am
Share this topic:
Turn p2 when hit in custom state
#1  August 01, 2020, 06:00:21 am
  • avatar
  • ***
    • https://sites.google.com/site/mgmurrow/
I cannot figure out how to turn p2 when hit, I have a launcher that puts p2 in a custom launched state, if p2 is facing p1 everything is fine, but if p2 is facing the same direction as p1(both facing right) when hit, how can I get p2 to face p1 while in a custom state?

I have put p2facing=1 in the hitstate And at the top of the state where the movetype =A but nothing, I tried putting a turn controller inside the p2 custom state but nothing, can’t figure this out!!

Any help??

MGMURROW
Re: Turn p2 when hit in custom state
#2  August 01, 2020, 06:30:13 am
  • ****
  • CPU Purple Heart
    • USA
    • https://www.pixiv.net/en/users/8108265
 Have you attempted to use the targetfacing state controller within the launcher state with a movehit trigger by any chance?
Re: Turn p2 when hit in custom state
#3  August 01, 2020, 07:50:29 am
  • avatar
  • *
this bug happen a lot in vs mode, it is more likely to happen when a character is going through landing/turn/stand states and gets interrupted with the custom hit
i couldnt figure a way to fix this... (i had a sort of p2 glide state that had this bug, it launched alright but when it touched the ground the momentum would turn into the opposite direction making it look really weird)
so there is the sprite facing thing and also the velocitys changing after some change state while having p2 in custom states..
hope you find a fix

Re: Turn p2 when hit in custom state
#4  August 01, 2020, 09:36:10 am
  • avatar
  • ***
    • https://sites.google.com/site/mgmurrow/
Have you attempted to use the targetfacing state controller within the launcher state with a movehit trigger by any chance?

I’ve tried this, just putting a simple time=0 turn controller just to see if it would work, along with about 6 out her things to no avail.

Madphantomi encountered this before a long time ago, going through my characters I cannot figure how I solved it, but I will find a solution!!

Thanks guys

MGMURROW