#How would I go about making a mario or sonic like momentum system?
1 messages · Page 1 of 1 (latest)
well I mean like
when they stop, how would I make it slide then play that anim?
like uh
ohh
sorry if I wasnt clearer ;-;
** You are now Level 2! **
wait lemme think ts through
are you good at scripting tho cause this can be pretty complicated
Okay so how I would do this is:
1st get the players Velocity
2nd get the players Input direction (you have to write a function for this where you calculate it with userinputservice, camera, etc.)
3rd compare them with the dot product to check if they’re opposite
this should work if you do it right I cant test it myself tho cause im kinda in my bed on my phone
Its alright!!!
would you happen to know what tutorials I could possibly use?
Wait nvm I can do that ;-;
Thank you so much!!!!
I think you might have to go with the roblox documentation with this 1
or AI but you really have to try everything it gives you if it works and try to understand it
theres no such thing as input direction like i mentioned tho you have to figure the calculations out yourself