hi
i’ve a little map where i have a spline generating a railroad. the longer the spline gets, the less fps i get.
if i disable the construction script to build the railroad i can extend the spline as big as a want without fps dropping, but if i want to extend the spline with construction script connected to all script, fps drops.
i’ve disable collision in LOD in mesh settings.
in my blueprint i’m using Set Collision Enable to disable collisions, in Add static mesh Component I’ve set for No Collisions in Collision Preset
how do i set this without FPS going down?
thanks in advance.
David
I am not quite sure how you are doing it, but have you tried either just modifying the scale of the spline, or spawning multiple splines after one another?
that’s my blueprint here link text
you can see my construction script now.
as i get the spline bigger, the fps start droping. i think its because of collisions but since i’ve disable them… not sure what to do next to prevent this
here in this video Zak Parrish, from EPIC is doing a live training about splines and around 55:34 he talks about that lag… and he explains how to stop that lag. I’m not making my spline like he is doing, but i’m disable collisions like he is doing but i dont prevent that fps drop like he says…
I’m sorry, I am out of ideas unless I can see the code live and reading that constscript.txt is a main without syntax highlighting ;D
do you know you can paste that code into blueprint editor?