Jump to content

How to set up a solar panel in Unity?


Recommended Posts

I'm making a part that contains solar panels, and ModuleDeployableSolarPanel needs a secondary transform called suncatcher in the config I checked. I've tried googling it but all the tutorials are inaccessible. How do I set up a suncatcher in Unity? Is there any other thing I need to do in Unity to make a solar panel? Thanks.

Link to comment
Share on other sites

9 minutes ago, Leo Wang said:

I'm making a part that contains solar panels, and ModuleDeployableSolarPanel needs a secondary transform called suncatcher in the config I checked. I've tried googling it but all the tutorials are inaccessible. How do I set up a suncatcher in Unity? Is there any other thing I need to do in Unity to make a solar panel? Thanks.

Its like a engine you just set a transformer on the part that's the solar panel and name it and looking at stock parts are set you just tell it what the secondaryTransformName = ******   is hope it helps

Link to comment
Share on other sites

10 hours ago, Leo Wang said:

I'm making a part that contains solar panels, and ModuleDeployableSolarPanel needs a secondary transform called suncatcher in the config I checked. I've tried googling it but all the tutorials are inaccessible. How do I set up a suncatcher in Unity? Is there any other thing I need to do in Unity to make a solar panel? Thanks.

 

10 hours ago, Mecripp said:

Its like a engine you just set a transformer on the part that's the solar panel and name it and looking at stock parts are set you just tell it what the secondaryTransformName = ******   is hope it helps

Yeah, You just need a empty with the axis pointing the correct direction and named appropriately. I think you can do it in Unity by creating a new gameobject within your part.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...