|
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 17 Jul 2011 06:25 PM |
Since it would be relative to what...? It's not logically useful. |
|
|
| Report Abuse |
|
|
Corecii
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 687 |
|
|
| 17 Jul 2011 06:25 PM |
Model:GetModelCFrame() Model:GetmodelSize() |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2011 06:29 PM |
Sun Jul 17 19:28:24 2011 - SetModelCFrame is not a valid member of Model
|
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 17 Jul 2011 06:44 PM |
Sun Jul 17 19:43:48 2011 - Unable to cast CoordinateFrame to Vector3
|
|
|
| Report Abuse |
|
|
| |
|
daur21
|
  |
| Joined: 13 Jan 2009 |
| Total Posts: 303 |
|
|
| 17 Jul 2011 06:45 PM |
@Nick -Insert Yao Ming's face here- |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2011 06:45 PM |
"Unable to cast CoordinateFrame to Vector3"
Isn't CFrame.p a Vector3? |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 17 Jul 2011 06:49 PM |
It should be more like Vector3 - CFrame.p...
Lol.. |
|
|
| Report Abuse |
|
|