|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 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
|
  |
| Joined: 15 Nov 2008 |
| Total Posts: 3445 |
|
| |
|
|
| 06 May 2012 04:42 PM |
Im sorry :(
~!~ Plus One Post ~!~ |
|
|
| Report Abuse |
|
|
3lex33
|
  |
| Joined: 08 Oct 2008 |
| Total Posts: 5220 |
|
| |
|
|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|