Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can Curve Spline be used for an in game level editor.
#7
(05-02-2023, 08:09 PM)Lupos Wrote: Also as a follow up is it possible to retain a prefabs scripts? The curvable objects I'm trying to create require having logic applied to them for destruction, so far I cant seem to get that to work with the generator.

go to FluffyUnderware.Curvy.Generator.CGMeshResourceLoader.Destroy. There, find this:
Code:
                    obj.StripComponents(
                        typeof(CGMeshResource),
                        typeof(MeshFilter),
                        typeof(MeshRenderer)
                    );
and replace it with
Code:
                    obj.StripComponents(
                        typeof(CGMeshResource),
                        typeof(MeshFilter),
                        typeof(MeshRenderer),
                        typeof(your_script)
                    );
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: Can Curve Spline be used for an in game level editor. - by _Aka_ - 05-03-2023, 12:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Spline Spots from 2 samples. BitBlit 8 655 06-30-2026, 11:49 AM
Last Post: _Aka_
  Best way to duplicate a spline with an offset Kapistijn 8 2,068 04-12-2026, 03:18 PM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 867 11-13-2025, 11:32 AM
Last Post: _Aka_
  Create Game Object Renaming Options rickgplus 1 1,105 09-23-2025, 09:33 AM
Last Post: _Aka_

Forum Jump: