I’m trying to use a box collision to set up a box trace by channel. My maths is off somewhere because the following code:

yields the following behavior:

There seem to be two boxes drawn. Can anyone help?

I’m trying to use a box collision to set up a box trace by channel. My maths is off somewhere because the following code:

yields the following behavior:

There seem to be two boxes drawn. Can anyone help?

Instead of multiplying the rotation, get the X vector from it and then multiply it.

( or right vector, etc… )