Hi! I would like to use four line traces to check a wall, tried the first one with an offset on the right (First pie image) but when rotating (second pie image) the line trace goes wrong, I would like it to trace same way than first, witch nodes do I need ?
You’re offsetting your start/end locations in world space by 100 units on the Y axis, so that offset will always be in the same “direction” no matter how you rotate your character.
For a minimal change, I suggest replacing both “+” nodes with something like this:
1 Like
Thanks! Caching the base location seems to be obligatory in these cases, I understand more!
Got this result :
Witch for me, seems exact from the script, right ?
Since that, I may handle this :
Thanks alot
I’m glad that helped you! Please feel free to mark the reply as answered.
1 Like
Well, I passed 10 minutes to find out how to mark the topic as “Resovled”! How do we do lol!
I found that you should edit your post and add a Question tag, then the solution button will appear!
Here is the link to the solution
2 Likes