Sunday, December 30, 2012

The Easiest Ways to C-Frame

   C-Framing does not have to be complicated. I always used to think it was almost as hard as scripting, but I never really tried. All you need is a cframe tool, which there are many different types of. Here I'll be using both the c-frame tool that looks like an atomizer, and my personal favorite, the c-frame edit gui. Let's start by taking a look at the atomizer c-frame tool, because although it is less precise, it is much easier to user.

  To find the cframe tool, search for C-Frame tool in free models. It should look like this:
  Since this is just a tutorial, we will only be putting two bricks together. The first thing you need to do is to anchor the brick, which can be done by either going to the brick in the workspace, going to the properties of the brick, and checking the box that says anchor or just finding an anchor tool in the free models. Make sure to anchor all of the bricks. Then, use your cframe tool and click the brick you are going to use. It should look something like this: 



The blue arrows move it and the orange dots rotate it. Afterwards, all you have to do is drag it into the other brick.

 

Now let's move onto the edit gui. This one can get a bit more complicated, but it's very precise. I prefer it. To find the edit gui, go to free models and search: Cframe edit gui. It may be a bit harder to find it, my apologies. The gui should look like this:


The four rows on the top are like the blue arrows, they change the position of the brick. The three rows on the bottom are like the orange dots, they rotate the brick.To find out what does what, I usually guess and check, but there is a way to remember. Notice how 6/7 of the rows have either X, Y, or Z. On a block those are all axes. Pressing the arrow next to a letter should move the respective axis. The same goes for rotate. The numbers stand for the brick's position in the workspace.

Imagine the z axis as it would be on a cube or rectangle,  not as a diagonal line jutting out.
    As for lookvector, I'm going to give you roblox wiki's definition
CFrame.lookVectorVector3returns the facing direction (unit vector)
User scacman1967 said
"LookVector is the way a part looks if it could see. A part has six sides Front, back, top, bottom, left, right. The front of a part is the lookvector.
You can use LookVector to fly , drive or basically move a part in a forward direction."

 Still, the edit gui can be a complicated tool. Sometimes it takes some tinkering to work. If there are any errors in this post, please feel free to point them out. I'm not an expert, just trying to help people starting out.




No comments:

Post a Comment