Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to modify Input GameObject's transformation properties by script.
#1
I would like to access/modify the transformation properties of an Input GameObject module through script to change them while playing.
Is this possible? If not, is there some other way to modify the transform BEFORE sending the GameObject to the Volume Spots module?
I would like to have the GameObjects scale dynamically such that you get more/less volume spots if they are smaller/bigger. (as opposed but different sized Gameobjects, but the
same number/spacing for volume spots)

Thanks.


Attached Files Thumbnail(s)
   
Reply
#2
Hello
You are probably looking for this property:
InputGameObject.GameObjects
This list's elements contain the transation/rotation/scale properties. Here is the API reference regarding it:

https://api.curvyeditor.com/FluffyUnderw...ameObjects

I hope this helped.

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
Thanks, I found this earlier after doing some more experimenting. I found I also have to refresh the relevant modules to get them to update.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to generate gameobject on the control point Yang Yi 1 213 12-10-2024, 10:14 PM
Last Post: _Aka_
  Adjust radius of generated mesh via script? Shackman 1 207 03-26-2024, 01:12 PM
Last Post: _Aka_
  Curvy discards Input Spline Range VoltDriver 3 406 11-28-2023, 07:14 PM
Last Post: _Aka_
  Skip Input Mesh if spline has too much bend Zilk1 3 358 09-27-2023, 09:45 PM
Last Post: _Aka_

Forum Jump: