73EPIC311
|
  |
| Joined: 28 Aug 2012 |
| Total Posts: 454 |
|
|
| 25 Apr 2014 03:43 PM |
| What does CFrame:inverse() do exactly? |
|
|
| Report Abuse |
|
|
|
| 25 Apr 2014 03:44 PM |
| It returns the inverse of the CFrame. |
|
|
| Report Abuse |
|
|
Kingmouli
|
  |
| Joined: 28 Sep 2012 |
| Total Posts: 1292 |
|
|
| 25 Apr 2014 03:50 PM |
I asked myself the same question so I ran this in the output cf = CFrame.new(3, 4, 5) print(cf) print(cf:inverse()) |
|
|
| Report Abuse |
|
|
73EPIC311
|
  |
| Joined: 28 Aug 2012 |
| Total Posts: 454 |
|
| |
|
|
| 25 Apr 2014 03:59 PM |
Did you even try it?
#nerdsunited |
|
|
| Report Abuse |
|
|
73EPIC311
|
  |
| Joined: 28 Aug 2012 |
| Total Posts: 454 |
|
|
| 26 Apr 2014 01:16 PM |
I just tried it, it makes it negitive but what can it be used for?
|
|
|
| Report Abuse |
|
|
| |
|
73EPIC311
|
  |
| Joined: 28 Aug 2012 |
| Total Posts: 454 |
|
| |
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
|
| 26 Apr 2014 01:28 PM |
You don't use it for subtracting CFrames.
http://www.roblox.com/Forum/ShowPost.aspx?PostID=59544478 |
|
|
| Report Abuse |
|
|
youssef04
|
  |
| Joined: 22 Jan 2011 |
| Total Posts: 1745 |
|
|
| 26 Apr 2014 01:29 PM |
| Could it be like making hands, one hand is exactly the oppisite of the other, in a way, reflected, so I think this reflects it. |
|
|
| Report Abuse |
|
|
73EPIC311
|
  |
| Joined: 28 Aug 2012 |
| Total Posts: 454 |
|
|
| 26 Apr 2014 01:29 PM |
| What do you use it for then? I saw it in several welding scripts so I'm not real sure what it does. |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2014 01:31 PM |
You can use it for welding a group of parts together. Most guns use a weld script, which welds all the parts to the handle, then changes up the C0 and C1 properties by using the inversed CFrame of the part, multiplied by the Part0's position as a CFrame.
Here's my siggy... Done. |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2014 01:33 PM |
@Rofl It didn't say in one part of that that it isn't used for subtracting. Try running this in your output. local cf = CFrame.new(1,1,1) print(cf*cf:inverse()) |
|
|
| Report Abuse |
|
|
73EPIC311
|
  |
| Joined: 28 Aug 2012 |
| Total Posts: 454 |
|
| |
|