How do I find a direction between the look vector and the up vector of a part

I’m making a launch tool which you can use to launch a player in the direction the user is facing. I’m planning to use Linear velocity for it and the problem is that I want to find the direction between the look vector and the up vector of the user so when the player got launch, it will launch a bit up and not just straight from the look vector, but I don’t know how to do that

(The picture is flipped sorry)

Thanks in advance!

You can just add the two vectors together to get the vector between them

local vector = HumanoidRootPart.CFrame.UpVector + HumanoidRootPart.CFrame.LookVector

And then you can get the actual position from this based on what you want, for example if you want to get the position 10 studs along this vector from the HRP, you can do this:

local position = HumanoidRootPart.Position + vector*10
2 Likes