Jump to content

mirror pieces


jaunco325

Recommended Posts

5 hours ago, jaunco325 said:

Is there a mod that allows me to mirror some pieces? example: that allows to make that in the airplane cabins, the kerbal leaves by the right side instead of the left.

You might be able to effect this with a simple MM patch, by setting the scale on the X axis of the model to a negative value (e.g. scale = -1,1,1).  That is traditionally how things are 'mirrored' in 3d modeling, but I cannot guarantee that KSP will handle it all properly, especially if the part in question involves animations or other complicated modules.

Link to comment
Share on other sites

On 2/11/2020 at 11:15 PM, Shadowmage said:

You might be able to effect this with a simple MM patch, by setting the scale on the X axis of the model to a negative value (e.g. scale = -1,1,1).  That is traditionally how things are 'mirrored' in 3d modeling, but I cannot guarantee that KSP will handle it all properly, especially if the part in question involves animations or other complicated modules.

 

On 2/12/2020 at 3:59 PM, jaunco325 said:

That would not erase the original configuration of the piece?

 

 

On 2/12/2020 at 4:18 PM, zer0Kerbal said:

use the MM Patch to copy the part

+PART instead of @PART

so you could create a module manager patch to copy the part and possibly mirror it - that way you would have two parts - one left, one right.

I do not know if this would work, never tried.

so the beginnings of the patch would start something like this:
 

+PART[part name here]:FOR[zzzzMe]
{
	@name ^= :$:-mirror:
  	@MODEL
	{
		%scale = -1,0, 1.0, 1.0
	}
}

 

Edited by zer0Kerbal
@name ^= :$:-mirror:
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...