Started by
Avient.
on
Topic category: Help with Minecraft modding (Java Edition)
So i have this vector procedure that launches the player forward the way they're looking. I'm trying to get the exact effect but it's supposed to launch the player backwards while keeping the exact direction they're facing. Help is much appreciated!
just use negative integers
or multiply everything with -1 or subtract everything from 0 to get the additive inverse the value
I just managed to fix it as well by adding - in custom code. Thank you for the help!
You don't need custom code, you just multiply the forward motion vector by "-1"
Yes of course but i'm actually more familiar with fixing stuff in custom code, for me it's easier to get an overview in code editor.
Works either way :)