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 » Scripters
Home Search
 

Re: Because Scripting Helpers is useless and discussion on CFrame

Previous Thread :: Next Thread 
nickmaster24 is not online. nickmaster24
Joined: 04 Oct 2008
Total Posts: 8906
17 Jul 2011 06:24 PM
http://www.roblox.com/Forum/ShowPost.aspx?PostID=50770608

Why do models not have a CFrame and/or position property?
Report Abuse
TheCapacitor is not online. TheCapacitor
Joined: 19 Jan 2011
Total Posts: 7045
17 Jul 2011 06:25 PM
They do.

Model:GetModelCFrame()
Model:SetModelCFrame()

_________________________________________________
Turtles are going to take over the world some day...
Report Abuse
Aaaboy97 is not online. Aaaboy97
Joined: 05 Apr 2009
Total Posts: 6612
17 Jul 2011 06:25 PM
I hate how people think that Scripters are back-up for Scripting Helpers.
Report Abuse
BlueTaslem is not online. BlueTaslem
Joined: 11 May 2008
Total Posts: 11060
17 Jul 2011 06:25 PM
Since it would be relative to what...?
It's not logically useful.
Report Abuse
Corecii is not online. Corecii
Joined: 06 Aug 2010
Total Posts: 687
17 Jul 2011 06:25 PM
Model:GetModelCFrame()
Model:GetmodelSize()
Report Abuse
nickmaster24 is not online. nickmaster24
Joined: 04 Oct 2008
Total Posts: 8906
17 Jul 2011 06:29 PM
Sun Jul 17 19:28:24 2011 - SetModelCFrame is not a valid member of Model
Report Abuse
Aaaboy97 is not online. Aaaboy97
Joined: 05 Apr 2009
Total Posts: 6612
17 Jul 2011 06:31 PM
MODEL:SetModelCFrame(POSITION)
would act like
MODEL:TranslateBy(POSITION - MODEL:GetModelCFrame().p)
Report Abuse
lucas668 is not online. lucas668
Joined: 18 Jun 2008
Total Posts: 6183
17 Jul 2011 06:41 PM
If you wish to rotate models on their rotational matrices like you do parts, I have a "Model CFramer" tool that uses Oysi's model CFraming script. I got it before his old main, Oysi93, got permanently deleted.
Report Abuse
JulienDethurensb is not online. JulienDethurensb
Joined: 13 Jul 2010
Total Posts: 155
17 Jul 2011 06:42 PM
"MODEL:SetModelCFrame(POSITION)
would act like
MODEL:TranslateBy(POSITION - MODEL:GetModelCFrame().p)"

Why not just use MoveTo, then?
Report Abuse
nickmaster24 is not online. nickmaster24
Joined: 04 Oct 2008
Total Posts: 8906
17 Jul 2011 06:44 PM
Sun Jul 17 19:43:48 2011 - Unable to cast CoordinateFrame to Vector3
Report Abuse
nickmaster24 is not online. nickmaster24
Joined: 04 Oct 2008
Total Posts: 8906
17 Jul 2011 06:44 PM
Nm...
Report Abuse
daur21 is not online. daur21
Joined: 13 Jan 2009
Total Posts: 303
17 Jul 2011 06:45 PM
@Nick
-Insert Yao Ming's face here-
Report Abuse
JulienDethurensb is not online. JulienDethurensb
Joined: 13 Jul 2010
Total Posts: 155
17 Jul 2011 06:45 PM
"Unable to cast CoordinateFrame to Vector3"

Isn't CFrame.p a Vector3?
Report Abuse
daur21 is not online. daur21
Joined: 13 Jan 2009
Total Posts: 303
17 Jul 2011 06:46 PM
@Julien
He probably did it like this:
CFrame - CFrame.p
Report Abuse
JulienDethurensb is not online. JulienDethurensb
Joined: 13 Jul 2010
Total Posts: 155
17 Jul 2011 06:49 PM
It should be more like Vector3 - CFrame.p...

Lol..
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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