generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Building Helpers
Home Search
 

Re: C-Frame?

Previous Thread :: Next Thread 
Angel2538 is not online. Angel2538
Joined: 01 Jan 2011
Total Posts: 165
12 Jul 2012 11:36 PM
What in the world IS C-Frame? How do you use it?
Report Abuse
8Ovechkin is not online. 8Ovechkin
Joined: 16 Jan 2009
Total Posts: 1760
12 Jul 2012 11:45 PM
CFrame, or Coordinate Frame, is the ability to move ANCHORED bricks anywhere you want by using plugins, the Command Bar, CFrame tool (don't use those), and some other ways. The one that most people recommend on using is the Command Bar (acess that in Roblox Studios by View > Toolbars > Command Bar). You can use several different codes in the Command Bar, the one I use is
-- workspace.Part.CFrame = workspace.Part.CFrame + Vector3.new(0,0,0)
^ ^
Note that the two 'Part' areas of the command need to be changed for each different block's name that you want to CFrame. The (0,0,0) is where you enter the coordinates. One example is (.1,0,.1); this would move the specified brick in X axis .1 and Z axis .1 (I believe those are the two axises). these three digits can be changed to whatever you feel the need to change it too.

IF THERE ARE SEVERAL BRICKS THAT HAVE THE SAME NAME, EITHER GROUP THEM OR CHANGE THE NAME OF THE BLOCKS OR THE COMMAND WILL NOT WORK.
Report Abuse
Angel2538 is not online. Angel2538
Joined: 01 Jan 2011
Total Posts: 165
13 Jul 2012 12:11 AM
Well, that was just confusing!
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
13 Jul 2012 12:20 AM
Think of it like this:
The Workspace is just a grid, but rather than having two axis it has three.
The Coordinate Frame (or CFrame) is the representation of the part's positioning among this grid. In addition to the three axis, the CFrame also tells us exactly how the part is rotated on the axis.

CFraming is more of an advanced building topic, so it may take a while to fully understand.

The following wiki page can provide some helpful information when using CFrames: http://wiki.roblox.com/index.php/CFrame

When I'm CFraming, I personally use the following segment in the command bar to quickly CFrame everything I need.

for i,v in pairs(game.Selection:Get()) do v.CFrame = v.CFrame * CFrame.new(0,1,0) * CFrame.Angles(0,1,0) + Vector3.new(0,1,0) end

Using the segment `v.CFrame * CFrame.new(0,0,0)` translates (or slides) the part by 1 stud on the Y axis. This is relational to the part, so if the part is upside down, it will be translated down rather than up.

The segment `v.CFrame * CFrame.Angles(0,1,0)` rotates the part by 1 radian on the Y axis. If you've not gone through advanced mathematics courses in school or can't understand math very well, it's easier to use the math.rad function which will give you the value you need in radians rather than degrees.

Lastly, the statement `v.CFrame + Vector3.new(0,1,0)` would move to part by 1 stud on the Y axis. This is not relational, so no matter how the part is rotated it will always move up by 1 stud.

Haters gonn' hate.
Report Abuse
moryo7 is not online. moryo7
Joined: 19 Jul 2010
Total Posts: 5028
13 Jul 2012 12:42 AM
Here's C-frame a little easier to understand:

C-frame is the rotation and position of an object.
People use a "C-framing Tool" To edit these with ease, for roblox does not currently have a very effective way of doing so.


-> This Siggy is My Little Pony based. <-
Report Abuse
Dozer86421 is not online. Dozer86421
Joined: 18 Aug 2011
Total Posts: 726
13 Jul 2012 09:53 AM
Not C-Frame, it's just CFrame. If you used C-Frame while CFraming, it wouldn't work. The code would have errors in it.
Report Abuse
8Ovechkin is not online. 8Ovechkin
Joined: 16 Jan 2009
Total Posts: 1760
13 Jul 2012 11:25 AM
moryo, the 'CFrame tool' isn't the easiest way to do CFrame. Roblox does have an efficient manner of doing this, the Command Bar!
Report Abuse
NCISrox is not online. NCISrox
Joined: 04 Jun 2010
Total Posts: 5184
13 Jul 2012 11:28 AM
Wow... Dare you come into Building Helpers and recomend someone to use a CFrame tool. You fool. 8O, he's tonights dinner!
P.S: Those dino fries where good.
-NCISrox
Report Abuse
8Ovechkin is not online. 8Ovechkin
Joined: 16 Jan 2009
Total Posts: 1760
13 Jul 2012 11:29 AM
mmmm yes they are, though I won't be on tonite...find someone else, maybe Scar will dine with you??? And thank you...Do you have leftovers to lure him into the pit??
Report Abuse
NCISrox is not online. NCISrox
Joined: 04 Jun 2010
Total Posts: 5184
13 Jul 2012 11:31 AM
Nah. I think I'll just go snatch him. Can I borrow your white pannel van?
-NCISrox
Report Abuse
8Ovechkin is not online. 8Ovechkin
Joined: 16 Jan 2009
Total Posts: 1760
13 Jul 2012 11:33 AM
sure:3, I'm still asking for that nice ferrari though from the 'I'll build for free' posts.....none have been finished....(if one ever is we snatch him in that)
Report Abuse
NCISrox is not online. NCISrox
Joined: 04 Jun 2010
Total Posts: 5184
13 Jul 2012 11:34 AM
My pony isn't done either.
-NCISrox
Report Abuse
8Ovechkin is not online. 8Ovechkin
Joined: 16 Jan 2009
Total Posts: 1760
13 Jul 2012 11:37 AM
haha, I wounder if ninja has gotten a rocking chair yet :P
Report Abuse
NCISrox is not online. NCISrox
Joined: 04 Jun 2010
Total Posts: 5184
13 Jul 2012 11:38 AM
My request was first, so I get first right. Want to see my new game? I need ideas. :/
-NCISrox
Report Abuse
8Ovechkin is not online. 8Ovechkin
Joined: 16 Jan 2009
Total Posts: 1760
13 Jul 2012 11:40 AM
sure, link it to me
Report Abuse
NCISrox is not online. NCISrox
Joined: 04 Jun 2010
Total Posts: 5184
13 Jul 2012 11:41 AM
http://www.roblox.com/%c3%80-la-Vieille-Rue-Fav-This-Game-place?id=31311890
-NCISrox
Report Abuse
TyrrelF1Team is not online. TyrrelF1Team
Joined: 13 Nov 2010
Total Posts: 712
13 Jul 2012 01:58 PM
CFraming is a way of making smooth corners for a race track
Report Abuse
manner14 is not online. manner14
Joined: 03 Feb 2011
Total Posts: 90
13 Jul 2012 02:15 PM
Press on a brick in build when it is in your starterpack. Then a big atom looking thing goes around it and it has arrows you click one one and whatever direction it is pointing you can drag it that way. Then you have the orange circles. Those rotate the brick you are cframin :) I hope this helped you
Report Abuse
TerrifyingObject is not online. TerrifyingObject
Joined: 06 May 2011
Total Posts: 2707
13 Jul 2012 02:21 PM
Use command bar. DO NOT use Cframe tools... You can find a command in my profile blurb.
Report Abuse
NCISrox is not online. NCISrox
Joined: 04 Jun 2010
Total Posts: 5184
13 Jul 2012 04:24 PM
Why do retards keep telling people to use CFrame tools?!
THIS IS BUILDING HELPERS. NOT IDIOTS WHO CAN'T BUILD.
-NCISrox
Report Abuse
ghostrider333 is not online. ghostrider333
Joined: 24 May 2010
Total Posts: 1095
13 Jul 2012 05:47 PM
It's basically the position of objects. It has 3 numbers. It looks like this...(10,5,6)
They are called X,Y and Z. X goes up and down. Y goes to the right. Z goes to the left.

~Ghostrider333 - Thank you for reading~
Report Abuse
Angel2538 is not online. Angel2538
Joined: 01 Jan 2011
Total Posts: 165
14 Jul 2012 08:14 PM
Ahem, NCISrox, and 80vechkin, this is not a chatting thing! I'm trying to learn how to work Roblox better, not stare at your conversation! Honestly, just send each other a message or something instead.
Report Abuse
GUESTHAXX is not online. GUESTHAXX
Joined: 16 Apr 2012
Total Posts: 3370
14 Jul 2012 08:22 PM
look up Roblox CmdUlt
Report Abuse
abbycat00 is not online. abbycat00
Joined: 31 Dec 2011
Total Posts: 604
14 Jul 2012 08:26 PM
You can go to the free models and search CFRAME giver. You can put the giver on your game so when you go to build you can walk up to it and it gives you the CFRAME tool.

The easiest one I know of is one that when you click an object it has arrows which you drag or tilt.
Report Abuse
TerrifyingObject is not online. TerrifyingObject
Joined: 06 May 2011
Total Posts: 2707
15 Jul 2012 03:41 AM
@ Abbycat00

No. Use the Command Bar.

@ OP

Go into ROBLOX Studio, and then click View>Command Bar.

Then Copy+Paste this command in:


for i,v in pairs(game.Selection:Get()) do v.CFrame=v.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) end

And then, select the brick(s) you want CFramed. Now, the first 3 0's in the command are for "nudging" the block by a certain amount. They are placed in this order: X,Y,Z. For example, (0,1,0) would move it 1 block on the Y scale.

The second 3 0's are for rotating. They are measured in degrees. 45 would turn it 45 degrees.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image