Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mesh deform - baby guide
#6
Hi,

The TransformSpots list is of the following type: List<TransformSpot>. So you can't add a GamObject to it, you have to add a TransformSpot. Thus the error you got.

Now, you indeed can't create a TransformSpot via API. This is something I missed, thanks for pointing that to me.
I will fix this in the next update, but until then, here is how you can fix it yourself:
  • Go to the definition of the TransformSpot struct (in \Assets\Plugins\ToolBuddy\Assets\Curvy\Scripts\CG Modules\InputTransformSpots.cs)
  • Add to it the following constructor definition:
    Code:
    public TransformSpot(
        int index,
        Transform transform)
    {
        this.index = index;
        this.transform = transform;
    }
  • Use the newly available constructor to add instances of TransformSpot to the TransformSpots list.

Let me know if this didn't work.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Messages In This Thread
Mesh deform - baby guide - by jmh1804 - 08-19-2024, 07:41 PM
RE: Mesh deform - baby guide - by _Aka_ - 08-20-2024, 07:08 AM
RE: Mesh deform - baby guide - by jmh1804 - 08-20-2024, 07:24 AM
RE: Mesh deform - baby guide - by _Aka_ - 08-20-2024, 03:52 PM
RE: Mesh deform - baby guide - by jmh1804 - 08-20-2024, 05:28 PM
RE: Mesh deform - baby guide - by _Aka_ - 08-21-2024, 08:28 AM
RE: Mesh deform - baby guide - by jmh1804 - 08-21-2024, 10:35 AM
RE: Mesh deform - baby guide - by _Aka_ - 08-22-2024, 07:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to generate UVs along deformed and copied mesh? kubak 1 319 03-18-2026, 08:34 PM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 2,325 06-09-2025, 06:49 PM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 3,635 02-14-2025, 07:11 AM
Last Post: vatan
  Create Mesh Node, Make Static Options rickgplus 1 1,833 01-23-2025, 10:12 AM
Last Post: _Aka_

Forum Jump: