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 » Scripting Helpers
Home Search
 

Re: CFrame?

Previous Thread :: Next Thread 
TheLuaNoob is not online. TheLuaNoob
Joined: 04 May 2012
Total Posts: 482
06 May 2012 04:36 PM
Hello! My friend just showed me what a CFrame is, Can someone tell me how to script a CFrame rather then with a tool?

What would I need to use?

I need it for my build script, Remember the one that makes a wall? :)

~!~ Plus One Post ~!~
Report Abuse
slayer219 is not online. slayer219
Joined: 15 Nov 2008
Total Posts: 3445
06 May 2012 04:38 PM
Command bar:

    game.Workspace.Part.CFrame = CFrame.fromEulerAnglesXYZ(.1, .2, .3)
Report Abuse
TheLuaNoob is not online. TheLuaNoob
Joined: 04 May 2012
Total Posts: 482
06 May 2012 04:38 PM
I need one that will work in a script, Will that work in a script?

~!~ Plus One Post ~!~
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
06 May 2012 04:39 PM
[ Content Deleted ]
Report Abuse
3lex33 is not online. 3lex33
Joined: 08 Oct 2008
Total Posts: 5220
06 May 2012 04:39 PM
Why do i have the feeling that you are trolling us sometimes. First that 743 lines wall script, now you are saying that you can script but cant cframe. Rather strange. Anyway:

http://www.roblox.com/Forum/ShowPost.aspx?PostID=63562829
Report Abuse
3lex33 is not online. 3lex33
Joined: 08 Oct 2008
Total Posts: 5220
06 May 2012 04:40 PM
Oh wait, how rude of me. He posted wall script at morning, so you did not see it i guess. Enjoy:

http://www.roblox.com/Forum/ShowPost.aspx?PostID=67588439
Report Abuse
TheLuaNoob is not online. TheLuaNoob
Joined: 04 May 2012
Total Posts: 482
06 May 2012 04:41 PM
@3lex
The wall script was just a test, Im trying to make it build a house.

And I need CFrame for the house

~!~ Plus One Post ~!~
Report Abuse
slayer219 is not online. slayer219
Joined: 15 Nov 2008
Total Posts: 3445
06 May 2012 04:41 PM
Jesus Christ!
Report Abuse
TheLuaNoob is not online. TheLuaNoob
Joined: 04 May 2012
Total Posts: 482
06 May 2012 04:42 PM
Im sorry :(

~!~ Plus One Post ~!~
Report Abuse
3lex33 is not online. 3lex33
Joined: 08 Oct 2008
Total Posts: 5220
06 May 2012 04:43 PM
For what?
Report Abuse
TheLuaNoob is not online. TheLuaNoob
Joined: 04 May 2012
Total Posts: 482
06 May 2012 04:44 PM
You said I should know how to CFrame from that script...Im sorry I dont.

~!~ Plus One Post ~!~
Report Abuse
slayer219 is not online. slayer219
Joined: 15 Nov 2008
Total Posts: 3445
06 May 2012 04:45 PM
I was saying Jesus Christ to the wordwall, not your inability to do CFrame. Everyone has to learn sometime.
Report Abuse
3lex33 is not online. 3lex33
Joined: 08 Oct 2008
Total Posts: 5220
06 May 2012 04:47 PM
No, i meant something else. Usually people follow this path:


gaming->game building->building->cframe->scripts

I am impressed by the way you had started from last one. It is somehow strange.
Report Abuse
breuning is not online. breuning
Joined: 30 Oct 2008
Total Posts: 4268
06 May 2012 04:48 PM
CFrame is a property of a brick.

You can compose two CFrames ( CFrame * CFrame )
You can set the CFrame Property to a new CFrame ( part.CFrame = CFrame.new(1, 0, 0) )
You can set the rotation of a brick
(part.CFrame = part.CFrame * CFrame.Angles(math.pi/2, math.pi/4, math.pi/8) )
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting 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