I am trying to dynamically generate a pipping system. I am using a very specific way to connect the pipes after generating them. The forward has to be pointing at the next pipe and the right has to be pointing at the previous pipe.
Is it possible to do something like
transform.right = prevPipe.transform.position - transform.position; transform.forward = nextPipe.transform.position - transform.position;
Take effect at the same time instead of being 2 individual amendments?