Hi, I had created two line traces.
I am wondering if I can use for loop to create multiple line traces, for example adding a value of 100 in z axis for each index.
Thank you!
Hi, I had created two line traces.
I am wondering if I can use for loop to create multiple line traces, for example adding a value of 100 in z axis for each index.
Thank you!
Yes, you could. Of course, the more traces you do on tick, the heavier itâs going to get.
If you just want to gradually extend traces in the same direction, you can use a multi trace
Itâs only really when you want to do some like tracing in a sphere, you might use a loop.
But is there any guidance on how I can do it?
Cause in Python, the code looks like this.
But how do I add 100 in the z axis for every âiâ in Unreal Engine?
Sorry I am still new to Unreal Engine.
I want to create multiple traces for different angles, as in different z axis, but their x and y axis values will be the same
For every hundred along X ( which I think your example is heading for ), use
To move up Z, just use âget up vectorâ
Oh, got it, thank you so much for your help,
Hi there @zequann. Hope youâre well!
This topic has been moved from International to Programming & Scripting.
When posting, please review the categories to ensure your topic is posted in the most relevant space.
Thanks and happy developing!