|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 31 May 2014 05:05 AM |
| Ok, thanks! Anyone know any of the CFrame functions and what they do? |
|
|
| Report Abuse |
|
|
|
| 31 May 2014 05:15 AM |
| Anyone know what any of those CFrame methods do or mean? |
|
|
| Report Abuse |
|
|
| |
|
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 |
|
|
|
| 31 May 2014 05:37 AM |
| So, what does that mean? :o |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 31 May 2014 06:24 AM |
| Test them and you'll find out. |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 31 May 2014 06:29 AM |
| Any small example scripts I could see? :o |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
|
| 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 |
|
|
|
| 31 May 2014 06:32 AM |
part.CFrame = part.CFrame * CFrame:vectorToWorldSpace().Vector3.new(1,1,1)
|
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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 |
|
|
|
| 31 May 2014 06:35 AM |
Ohhhhhhhh! Here:
part.CFrame = part.CFrame * CFrame:vectorToWorldSpace(Vector3.new(1,1,1))
|
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|