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 by Rotation

Copy by Rotation

Scheduled Pinned Locked Moved 3D Blocks
1 Posts 1 Posters 758 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

    Besides making copies and placing them in a matrix formation, you can also make copies that are rotated from the original object.

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/e9f15f49-7f2f-4344-8491-73f281a63a83.png" width="800" style="">

    Similar to “copy by matrix”, all the copies will share the same data as the original object, such as their material, animation and parent.

     

    Parameters

    Rotation Axis

    You can rotate the copies around one of the 3 axes. It will have the same result as making a copy first, then using the “rotate to angle ( ) around axis” block to rotate it.

     

    Count

    This is how many copies you want to make.

     

    Degree Step

    This number controls how many degrees to rotate for each copy, and it is cumulative for each copy. For example, if the degree number is 10, then the first copy will be rotated 10 degrees from the original angle, and the second copy will be rotated 20 degrees, etc.

    For example, this program contains a long box, and 2 copies are made. There is a 60-degree angle between the copies around the Z-axis.

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/2f99f169-7356-479c-b698-9f75e128d5dd.png" width="800" style="">

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/842d4a7f-3ea9-4e89-88bc-1f904f9edd77.gif" width="450" style="border-radius: 5px; border: 1px solid #29622d;">

     

    Shift XYZ

    For each new copy, you can choose to change its position in the X/Y/Z dimensions. This value is also cumulative, so each additional copy will be shifted more.

    For example, this program shifts each copy up along the Z-axis.

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/421c149f-15ec-4d9f-b8f4-9ac54f1b8787.png" width="900" style="">

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/6ce6e495-7e5f-4456-ad6e-e4f1d41bf5cf.gif" width="450" style="border-radius: 5px; border: 1px solid #29622d;">

     

    Using a Transformer Parent

    When we add a transformer node as a parent of the original object, then the rotation will be around the parent object. This will allow us to create more interesting scenes.

     

    A Circle of Copies

    For example, we can move the original object (an avatar) to X of 100, then add a transformer at the origin point as its parent. Then when we make rotated copies of this parent object, the avatar copies will form a circle around the origin point:

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/81953d19-733a-4240-b2e9-5c2b04ba6876.png" width="800" style="">

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/f97af788-a1c2-43d1-8e6f-71a9ac1d9e72.gif" width="460" style="border-radius: 5px; border: 1px solid #29622d;">

     

    Shifting the Copies

    When we make rotated copies of a transformer, if there is some shift in the X/Y/Z dimensions, the child object of the transformer will be shifted, not the transformer itself.

    For example, in this program, we make each copy further away along the X-axis by 5 units:

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/08d7a228-c365-436c-b2a2-2fe77f060523.png" width="800" style="">

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/07f5e2f8-c5b9-4e27-a99d-f11682b03384.gif" width="460" style="border-radius: 5px; border: 1px solid #29622d;">

    1 Reply Last reply
    0

    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