Launch Character at a specific point

Question

Hello! This is probably some simple math that I cant figure out, so some help would be great!

I want to launch my character to a specific point. I've drawn a picture to explain it.

​

​

I already know the location of the box, I just want to launch the character at it.

​

​

This is how my code works now, This launches the character just forward, which is fine if the character is looking at it, but not if they look away.

​

Thank you!

Posted Dec 6, 2023, 8:48 PM UTC

39
Loading comments…