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.fromEulerAnglesXYZ() is nil!?!?

Previous Thread :: Next Thread 
Drak0Master is not online. Drak0Master
Joined: 10 Aug 2009
Total Posts: 836
26 May 2013 04:29 PM
attempt to call field 'fromEulerAnglesXYZ' (a nil value)

Wat

I need this to work >:l
Report Abuse
Drak0Master is not online. Drak0Master
Joined: 10 Aug 2009
Total Posts: 836
26 May 2013 04:32 PM
Willing to post code
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
26 May 2013 04:33 PM
Try CFrame.Angles() instead.
Report Abuse
ScrewDeath is not online. ScrewDeath
Joined: 03 Jun 2012
Total Posts: 2700
26 May 2013 04:38 PM
CFrame.new():toEulerAnglesXYZ()
Report Abuse
Drak0Master is not online. Drak0Master
Joined: 10 Aug 2009
Total Posts: 836
26 May 2013 04:41 PM
None of these work in a CFrame multiplication.

CFrame = CFrame * CFrame[] returns all terms nil.
Report Abuse
Drak0Master is not online. Drak0Master
Joined: 10 Aug 2009
Total Posts: 836
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
Drak0Master is not online. Drak0Master
Joined: 10 Aug 2009
Total Posts: 836
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
Frostglacier is not online. Frostglacier
Joined: 28 Oct 2010
Total Posts: 4177
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
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
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
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 May 2013 04:57 PM
Disregard that I got mixed up. Sorry...

But yeah try CFrame.Angles instead.
Report Abuse
digpoe is not online. 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 is not online. 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
Drak0Master is not online. Drak0Master
Joined: 10 Aug 2009
Total Posts: 836
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
Drak0Master is not online. Drak0Master
Joined: 10 Aug 2009
Total Posts: 836
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
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