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
 

CFrame:inverse()?

Previous Thread :: Next Thread 
73EPIC311 is not online. 73EPIC311
Joined: 28 Aug 2012
Total Posts: 454
25 Apr 2014 03:43 PM
What does CFrame:inverse() do exactly?
Report Abuse
JoshuaKempfert is not online. JoshuaKempfert
Joined: 16 Feb 2013
Total Posts: 2407
25 Apr 2014 03:44 PM
It returns the inverse of the CFrame.
Report Abuse
Kingmouli is not online. 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 is not online. 73EPIC311
Joined: 28 Aug 2012
Total Posts: 454
25 Apr 2014 03:58 PM
What does the output say?
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
25 Apr 2014 03:59 PM
Did you even try it?

#nerdsunited
Report Abuse
73EPIC311 is not online. 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
JoshuaKempfert is not online. JoshuaKempfert
Joined: 16 Feb 2013
Total Posts: 2407
26 Apr 2014 01:17 PM
Subtracting CFrames..
Report Abuse
73EPIC311 is not online. 73EPIC311
Joined: 28 Aug 2012
Total Posts: 454
26 Apr 2014 01:27 PM
Example?
Report Abuse
RoflBread is not online. 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 is not online. 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 is not online. 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
Spongocardo is not online. Spongocardo
Joined: 06 Sep 2008
Total Posts: 2843
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
JoshuaKempfert is not online. JoshuaKempfert
Joined: 16 Feb 2013
Total Posts: 2407
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 is not online. 73EPIC311
Joined: 28 Aug 2012
Total Posts: 454
26 Apr 2014 04:08 PM
i figured it out now
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