Sign in to follow this  
jaunco325

mirror pieces

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
17 minutes ago, jaunco325 said:

That would not erase the original configuration of the piece?

 

use the MM Patch to copy the part

+PART instead of @PART

Share this post


Link to post
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:

Share this post


Link to post
Share on other sites

edited above to add < @name ^= :$:-mirror: > which would automatically rename the new part (needed and necessary)

Share this post


Link to post
Share on other sites

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.

Sign in to follow this