- Home /
Perpendicular Vector3
Hello, I have a set of nodes each containing two Vector3's (position, tangent/direction) and a float (rotation).
Now I would like to create cubes at "position", make them look at "direction", roll them by "rotation". Then I would like to go UP a certain amount (relative to the cube). I can not use any Transforms for this.
What I know: I can create the cubes, I can make them look at direction and I can roll them via rotateAlong(tangent, rotation). What I can NOT do, is to rotate the tangent up (relative to it's own roll and rotation) similar to what transform.up does. How can I do this without using a Transform ?
Comment