Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Stretch to end" for CreateGameObjects
#8
Based on the above, I tried to modify the input bounds.
Code:
                    var volumeSpots= m_splineGameobject.GetComponentInChildren<BuildVolumeSpots>();
                    var spotBounds = volumeSpots.Input[1].GetData<CGBounds>().Bounds;

                    spotBounds.size = new Vector3(10f, 10f, 10f);
                    volumeSpots.Refresh();
Even with this basic test case, the volume spots are still placed based on the original input Gameobject's Z bounds. What's the correct way to modify the volume spots input bounds?
Reply


Messages In This Thread
RE: "Stretch to end" for CreateGameObjects - by Anubis132 - 06-04-2022, 11:53 PM

Forum Jump: