Started by
JoeWantsABrew
on
Topic category: Help with MCreator software
I am making a mod where people get BNHA-styled quirks, (i have made 7 quirks so far) i have this one problem though, how would i launch the player in the direction they are looking in? this is going to be a secondary ability for a quirk called "air cannon"
ah I see you're a fellow weeb
id have to tell you to just give the player blast protection for 1 second then spawn an explosion opposite direction of the players view
not sure how i would do that?
nvm i tried it. doesnt work very well
https://imgur.com/7lMZibh
In my project, I have this procedure(shown in link) that dashes towards the look direction if the player right clicks with a specific type of sword in hand. The big part of the procedure with lots of math is what you need, also the local variable too. this part of the procedure was made by someone in the MCToolKit Discord server.
The local variable I added, is to control the dashing speed.
https://mcreator.net/forum/69055/how-does-one-send-player-direction-hes…
It's much simpler. If you want it to go further, multiply every final result by the same number