|
| 26 May 2013 04:29 PM |
attempt to call field 'fromEulerAnglesXYZ' (a nil value)
Wat
I need this to work >:l |
|
|
| Report Abuse |
|
|
| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 26 May 2013 04:33 PM |
| Try CFrame.Angles() instead. |
|
|
| Report Abuse |
|
|
|
| 26 May 2013 04:38 PM |
| CFrame.new():toEulerAnglesXYZ() |
|
|
| Report Abuse |
|
|
|
| 26 May 2013 04:41 PM |
None of these work in a CFrame multiplication.
CFrame = CFrame * CFrame[] returns all terms nil. |
|
|
| Report Abuse |
|
|
|
| 26 May 2013 04:42 PM |
For example:
workspace["Part"].CFrame = workspace["Part"].CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/4, 0)
is not working and returns fromEulerAnglesXYZ, and all other attributes nil.
??????? |
|
|
| Report Abuse |
|
|
|
| 26 May 2013 04:52 PM |
Lol.
No one knows the first thing about CFrame?
This is pathetic and shouldn't even be happening. |
|
|
| Report Abuse |
|
|
|
| 26 May 2013 04:54 PM |
| The thing is, there is no reason as to why this shouldn't be working. Post your code and we'll see if there's anything we can do. |
|
|
| Report Abuse |
|
|
|
| 26 May 2013 04:56 PM |
Try giving us the output on what is happening. And of course CFrame.FromEulerAnglesXYZ() is nil, because it won't return anything, it isn't a method.
Use local xAngle,yAngle,zAngle CFrame:FromEulerAnglesXYZ() (With a colon)
|
|
|
| Report Abuse |
|
|
|
| 26 May 2013 04:57 PM |
Disregard that I got mixed up. Sorry...
But yeah try CFrame.Angles instead. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 26 May 2013 05:01 PM |
workspace["Part"].CFrame = workspace["Part"].CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/4, 0)
should be:
workspace['Part'].CFrame = CFrame.new(workspace['Part'].CFrame.p)*CFrame.Angles(0, math.pi/4, 0)
|
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 26 May 2013 05:03 PM |
I just noticed.
If this is really him, this is the creator of DAB...
It's a really old admin/antiban script which is still pretty cool. |
|
|
| Report Abuse |
|
|
|
| 26 May 2013 05:07 PM |
I instanced a new place, and the commands and code works.
However, the command in the one game, no matter what circumstances, the method is nil.
I'll post back here if it reproduces in a non corrupted file...
This is really weird, I just showed my brother to witness... ROBLOX water u doin
getitogethur |
|
|
| Report Abuse |
|
|
|
| 26 May 2013 05:11 PM |
Wow! I haven't been called out for D.A.B. in years. :) Thanks
It's so outdated though hahaha |
|
|
| Report Abuse |
|
|