Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Knowledge Base
  3. 3D Blocks
  4. Copy to Mirror Position

Copy to Mirror Position

Scheduled Pinned Locked Moved 3D Blocks
1 Posts 1 Posters 963 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • CreatiCodeI Offline
    CreatiCodeI Offline
    CreatiCode
    wrote on last edited by admin
    #1

     

    Prerequisite

    • Copy by Matrix

     
     

    Description

    A lot of objects around us are symmetric. For example, the four wheels of a car are at mirror positions to each other, either between the left and right sides, or between the front and back sides.

     
    If you have added one wheel, it would be great if you can just copy it to the other 3 positions, right? You can actually easily do that using the “copy to mirror position” block:


     
    Note that the copied objects will share the same data as the original object, such as material, animation and parent object.

     
     

    The Mirror Position Type

    You need to choose the mirror type when you use the “copy to mirror position” block. As shown, there are 7 options.
     

    Left-Right

    If you choose “left-right”, then a new copy of the current sprite object will be placed at the mirror position along the X-axis.

    For example, if the sprite object is at X of 150, then the new copy will be placed at X of -150. But if the original object is at X of -150, then its copy will be at X of 150. The copy will have the same Y and Z positions as the original object.

     

    If the original object has been rotated around the Z-axis, then the copied object will be rotated in the opposite direction. For example, as shown below, the original box has been rotated 30 degrees, so the copied box is rotated for -30 degrees.

     
     
    Lastly, the name of the copied object would reflect the mirror type. In this example, if the original object is named “a”, then its copy on the left side will be named “a_left”

     
     

    Front-Back

    This option also adds a copy, which will be placed at the mirror position along the Y-axis. For example, if the original object is at Y of 100, then the copy will be at Y of -100. The name of the copy would also contain the word “_front” or “_back”.

    The rotation angle around the Z-axis will be in the opposite direction as well.

     
     

    Up-Down

    This option also adds a single copy, which will be placed at the mirror position along the Z-axis. For example, if the original object is at Z of 50, then the copy will be at Z of -50. The name of the copy would also contain the word “_up” or “_down”.

     

    Left-Right + Front-Back

    This option allows you to add 3 copies. One copy will be for the “left-right” type, one copy for “front-back”, and the third copy will be at a mirror position that is opposite in both the X and Y positions.

     
    The name of the copied objects will also reflect their mirror type:

     
     

    Left-Right + Up-Down

    This option also adds 3 copies that are opposite in the X and Z positions.

     

    Front-Back + Up-Down

    This option also adds 3 copies that are opposite in the Y and Z positions.
     
     

    All

    This option would add 7 copies that are opposite in the X, Y and Z positions. For example:

     

    1 Reply Last reply
    0
    • CreatiCodeI CreatiCode pinned this topic on

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode