hey!
I am working on a small project here, I am very new to Unreal and this would be my first post here because I could not find an answere to this…
I managed to rotate my actor with my mousewheel and so using the variables “pitch-value” and “yaw-value”.
And my next step is that I want to connect my actors if they are in position to eachother, so by a multiboxtrace i can do this but my halfsize orientation is not following the bounds of the component.
Anyone that can help me a bit here?
Thanks.
Let me put this a bit more simply,
the problem is that my box extent (half size) does not follow my object when i rotate it. the halfsize is set to be exactly the size of the object (bounding).
It is perfect when rotation is at 0, but when i rotate the object that I hold (physics) it does not follow correctly.
It’s like the rotation is still at 0 for the box extent and when i rotate the object it stays but the size of the box extends as shown in the pictures above.
Please help…
I got it to work!
The problem was not the orientation input, but the box extent that i get from the component bounds. I updated the values of it all the times, so when i rotated the object using my mouse so did the position or something like that?
The fix is to update the value of the box extent one time only and that time i did with a variable that checks it once i pick up a physics object and put that as my box extent input.
1 Like