Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
lag when instantiating curvy spline prefab on android
#1
I made a feature where players can make axis straps, each axis that is installed requires a curvy spline on the object, when the player attaches the axis there will be a lag once when the object is installed then the lag is no longer, the problem is when the player installs again the axis will occur again in the game.

if the prefab that will be instantiated by the player does not have a curvy spline, lag will not occur.

I'm confused about how to solve this problem because if the prefab I want to instantiate doesn't have a curvy spline then the prefab doesn't work.
Reply
#2
Hi
I recommend reading this page.
https://curvyeditor.com/documentation/pe...tips/start
After doing so and and applying what's in there (including profiling), if the lag persists please let me know what is creating the lag and I might be able to solve the issue.
Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
(03-24-2022, 11:46 AM)_Aka_ Wrote: Hi
I recommend reading this page.
https://curvyeditor.com/documentation/pe...tips/start
After doing so and and applying what's in there (including profiling), if the lag persists please let me know what is creating the lag and I might be able to solve the issue.
Have a nice day

i have managed this lag issue, i added the curvy spline component after i instantiate the prefab.
lag and fps drop is gone after I use this method.
the next problem is how do i change the default setting when curvy spline into object via script?
i want to change interpolation to linear as default
Reply
#4
Hi
You can set the default interpolation in the Preferences window, by changing the value of Default Spline Type: https://curvyeditor.com/documentation/to...pline_type
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Filling a closed spline dynamically rickgplus 1 85 04-16-2025, 08:56 AM
Last Post: _Aka_
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 200 02-03-2025, 09:34 AM
Last Post: _Aka_
  Duplicate Prefab along path rickgplus 1 256 01-23-2025, 10:09 AM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 747 01-20-2025, 12:25 PM
Last Post: _Aka_

Forum Jump: