Need Help With Making an Axis

So I have 2 points. A is The Vector3 where the axis will originate, and B is just another Vector3. I need to get a point on the axis that faces B. Like Projecting I guess.
I’m not that great with quaternions or euler angles. When I go to make an axis, I don’t understand how the angle imput, nor the axis works.

  • Could someone try to explain how to make an axis, or at least how the chips that are needed work.
1 Like

I’m using this to check the roll rotation on the axis if that makes sence.

1 Like

It sounds like you want to create a directional vector from point A to B, that starts at point A and points towards B.

It’s a very simple operation: Subtract the position of a from b, this will create a direction from a to b. Use the “Vector Normalize” for cleanliness, it will remove unexpected behavior if you plan to use any other vector math chips.

If you want to check the rotation around the axis of this direction, you will need an up vector to compare to 0, 1, 0 the “up vector”.

Hope this helps!

1 Like

Thank you.
Can’t wait to use this for the replicator.