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: What is pointToObjectSpace?

Previous Thread :: Next Thread 
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
24 Dec 2013 02:15 PM
I was looking through Oysi's raycasting script and I found it being used in the raycast function.
Report Abuse
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
24 Dec 2013 02:16 PM
I looked in Object Browser, but the definition wasn't clear to me.
Report Abuse
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
24 Dec 2013 02:31 PM
Bump
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
24 Dec 2013 02:33 PM
http://wiki.roblox.com/index.php/CFrame#Methods

It returns a Vector3 equivalent to whatever the desc says.
Report Abuse
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
24 Dec 2013 02:34 PM
I already said the definition wasn't clear to me. I didn't get it.
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
24 Dec 2013 02:38 PM
Best way to say it,


it pretends the CFrame point called the origin is at the CFrame given(So basically, the CFrame you used the method on is 0,0,0).




Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
24 Dec 2013 02:39 PM
Not really sure what you could use it for though. I use vectorToWorldSpace (i think) for this inventory thing to do this cool camera effect.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Dec 2013 02:40 PM
CFrame:inverse() * Vector3
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
24 Dec 2013 02:42 PM
y they lock metatable for cframe
Report Abuse
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
24 Dec 2013 02:44 PM
Thanks BeBee2 :)
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Dec 2013 02:45 PM
make your own CFrame table then

local cFrame = {
new = CFrame.new,
angles = CFrame.Angles,
etc
}
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