Random Unit Vector In 2 Directions

I have a relatively simple question, but I’m really rusty on vector math. I have a starting location (vector). I want to spawn something a fixed length away from the location, along only the YZ plane.

If it could be in 3 directions, Random Unit Vector would work just fine.

Another way to think about this is that I want to spawn something randomly along the edge of a 2d circle.

Thanks,
Mark

Figures that I would find the solution minutes after posting this, but this seems to work. Not sure if its diminishing the randomness or not though.

2 Likes