So I don't know what I missed - must've gone over a couple times now, but it seems my speed won't update properly, so the sprite doesn't flip right and the right ray cast isn't used. The sprite renderer is on my GameObject too. Any ideas? 8:42 I got confused here as to which value you are referring to?
@@BastianTop I'm not sure if it is a bug but it seems like my animator variables weren't properly updating my side so I instead made 1 FSM making use of the above but setting the animator at the right steps with a raw value and not a variable. It's not ideal but it works for now and I learnt a lot about Playmaker regardless :) also realized if I flip scale (because sprite flipping wasn't going to sit right with my current animation) it also flipped my raycast lol so I only needed the left one.
I dont know why my sprite is not flipping.. in my direction fsm it doesn't transition from left to right .. so enemies just fall off because right raycast is ignored as the transition is not happening when moving positive direction.. what seems to be the problem??
Hey razorhead, make sure you have the latest version and check the ecosystem for that action, if you have not used the ecosystem before i made a tutorial for it, please check it out 👍
@@risingdagger5416 That is really strange, I just checked in my Unity and it is available for me. I tried checking in the ecosystem but the server seems down... What you can do in the mean time as a backup solution is, drag the Sprite Renderer into playmakers state area and select "Set Property" From there you can find Flip X... It is not ideal but give it a shot!
lol spend 2h to get it why why monster do not flip and i found out dat you didnt put wall detection ;/ ... how can i do it ? cause i have walls.. was trying to make detect walls for 4h and cant do it...
So I don't know what I missed - must've gone over a couple times now, but it seems my speed won't update properly, so the sprite doesn't flip right and the right ray cast isn't used. The sprite renderer is on my GameObject too. Any ideas? 8:42 I got confused here as to which value you are referring to?
Hey buddy! Hmm hard to say what went wrong, if u can put some screenshots in the discord i can have a look later!
@@BastianTop I'm not sure if it is a bug but it seems like my animator variables weren't properly updating my side so I instead made 1 FSM making use of the above but setting the animator at the right steps with a raw value and not a variable. It's not ideal but it works for now and I learnt a lot about Playmaker regardless :) also realized if I flip scale (because sprite flipping wasn't going to sit right with my current animation) it also flipped my raycast lol so I only needed the left one.
@@theonlycatonice good that you got it to work ^^
nice one cant wait for charge Ai
The raycast isn't shooting out and not detecting the ground for me, Ive also already set the ground to ground layer?
Hi, did you try to select debug in the action, so you can actually see the line?
@@BastianTop hey there Bastian, i debugged the line but nothing is shooting out
@@risingdagger5416 perhaps you can join discord and put a screenshot, i can have a look later
I dont know why my sprite is not flipping.. in my direction fsm it doesn't transition from left to right .. so enemies just fall off because right raycast is ignored as the transition is not happening when moving positive direction.. what seems to be the problem??
Feel free to join the discord and post some screenshot. Probably some small issue!
8:40 sprite set flip is not available in my action browser :/ is there something wrong I'm doing ?
Hey razorhead, make sure you have the latest version and check the ecosystem for that action, if you have not used the ecosystem before i made a tutorial for it, please check it out 👍
@@BastianTop I've installed the Ecosystem but there is still no sprite set flip? Or am i missing something else
@@risingdagger5416 That is really strange, I just checked in my Unity and it is available for me. I tried checking in the ecosystem but the server seems down... What you can do in the mean time as a backup solution is, drag the Sprite Renderer into playmakers state area and select "Set Property" From there you can find Flip X... It is not ideal but give it a shot!
@@BastianTop Alright i'll give it a try thanks Bastian Loving the youtube tutorials so far
lol spend 2h to get it why why monster do not flip and i found out dat you didnt put wall detection ;/ ... how can i do it ? cause i have walls.. was trying to make detect walls for 4h and cant do it...
I will include it in advanced enemy AI, similar principle as detecting the ground!