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: Some CFrame questions

Previous Thread :: Next Thread 
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 04:17 AM
So I just wanted to know what do these CFrame stuff do? If you know even just one, do you think you could tell me and maybe even a small example? :

CFrame:toWorldSpace()
CFrame:toObjectSpace()
CFrame:vectorToWorldSpace()
CFrame:vectorToObjectSpace()
CFrame:pointToWorldSpace()
CFrame:pointToObjectSpace()

Thanks!
Report Abuse
badfitz99 is not online. badfitz99
Joined: 01 May 2010
Total Posts: 5854
31 May 2014 04:32 AM
wiki.roblox.com

Anything you can do, a Asian kid half your age can do better! 'I am the greatest script in the realm. You can only hope to be as powerful of a script as I am, processing the world, bit by bit.' - Oysi 2014
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 04:56 AM
I already checked there, but I didn't really understand because there wasn't a lot of information, so I decided to ask Scripting Helpers. Anyone know at least one of them maybe?
Report Abuse
badfitz99 is not online. badfitz99
Joined: 01 May 2010
Total Posts: 5854
31 May 2014 04:58 AM
I've never actually used any of these methods. But I think Quenty made a door that uses one of these methods.

Anything you can do, a Asian kid half your age can do better! 'I am the greatest script in the realm. You can only hope to be as powerful of a script as I am, processing the world, bit by bit.' - Oysi 2014
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 05:05 AM
Ok, thanks! Anyone know any of the CFrame functions and what they do?
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 05:15 AM
Anyone know what any of those CFrame methods do or mean?
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 05:26 AM
Help
Report Abuse
badfitz99 is not online. badfitz99
Joined: 01 May 2010
Total Posts: 5854
31 May 2014 05:31 AM
returns a CFrame transformed from Object to World coordinates. Equivalent to CFrame * cf

Anything you can do, a Asian kid half your age can do better! 'I am the greatest script in the realm. You can only hope to be as powerful of a script as I am, processing the world, bit by bit.' - Oysi 2014
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 05:37 AM
So, what does that mean? :o
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 06:15 AM
help
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 06:18 AM
help!
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 06:22 AM
help?
Report Abuse
1234Christopher is not online. 1234Christopher
Joined: 21 Oct 2008
Total Posts: 1715
31 May 2014 06:23 AM
Dude, read the wiki.
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
31 May 2014 06:24 AM
Test them and you'll find out.
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 06:28 AM
I already read the wiki, I didn't really undertand because there wasn't enough information :l
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
31 May 2014 06:28 AM
_TEST_ them. You'll learn. You don't need to understand what they do.
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 06:29 AM
Any small example scripts I could see? :o
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
31 May 2014 06:30 AM
no
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 06:31 AM
Well then ok, but how would it look like?

part.CFrame = part.CFrame * CFrane:vectorToWorldSpace().Vector3.new(1,1,1)
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 06:32 AM
part.CFrame = part.CFrame * CFrame:vectorToWorldSpace().Vector3.new(1,1,1)
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
31 May 2014 06:33 AM
"part.CFrame = part.CFrame * CFrane:vectorToWorldSpace().Vector3.new(1,1,1)"

You didn't define 'CFrane' and you just can't put a random .Vector3.new(1,1,1) in the end.

>CFrame:vectorToWorldSpace(Vector3 v3)
See where the values should go.
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 06:35 AM
Wait, this is extremely important, I need a small definition for those methods so that I can understand, but would the script work that I posted?
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 06:35 AM
Ohhhhhhhh! Here:

part.CFrame = part.CFrame * CFrame:vectorToWorldSpace(Vector3.new(1,1,1))
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
31 May 2014 06:37 AM
I still got a list full of methods that need a definition that I can understand :L

CFrame:toWorldSpace()
CFrame:toObjectSpace()
CFrame:vectorToWorldSpace()
CFrame:vectorToObjectSpace()
CFrame:pointToWorldSpace()
CFrame:pointToObjectSpace()
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
31 May 2014 06:37 AM
>part.CFrame = part.CFrame * CFrame:vectorToWorldSpace(Vector3.new(1,1,1))
Didn't define CFrame right here ^^^
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