Jump to content

Symmetry and PartModule instances


Recommended Posts

Do Part instances share the same PartModule instance when placed in symmetry? This is the code I'm using, but bIsMirrorInstance = true for both parts.


if (this.part.symmetryCounterparts.Count == 1)
{
mirrorInstance = this.part.symmetryCounterparts[0];

TrackController module = mirrorInstance.Modules["TrackController"] as TrackController;
if (module != null)
{
module.bIsMirrorInstance = true;
}
}

Does this need to be handled in the Part instead?

I forgot, it's probably relevant that this code is in the PartModule's OnStart()

Edited by 6.forty
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...