| |
|
|
| 16 Oct 2015 02:54 PM |
| not the part actually just the center position |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 16 Oct 2015 02:55 PM |
local model; --Define your model
print(model:GetPrimaryPartCFrame());
That might not be the exact center. |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Oct 2015 03:01 PM |
| also there is no primary part |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 03:01 PM |
it is that you could use but, I found a deprecated one: model:GetModelCFrame() |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Oct 2015 03:55 PM |
| Don't use the deprecated one. Make an invisible primary party and place it in the exact center |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 16 Oct 2015 03:57 PM |
use the deprecated one
Red Blossoms |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 06:57 PM |
the deprecated one works, and the title is "how to get the center of a model"
lol |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 07:51 PM |
| Clearly you don't understand what deprecated means. |
|
|
| Report Abuse |
|
|
Dogejia
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 1873 |
|
|
| 16 Oct 2015 07:53 PM |
clearly it means you're old if you use it
gcmi lg lpxtlc; Decode it with Vigenere Cipher, keyword is Doge, if you dare >:) |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 07:57 PM |
| clearly you have no idea what i asked and havent tested the method yet |
|
|
| Report Abuse |
|
|
chimmmihc
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 2420 |
|
|
| 16 Oct 2015 08:23 PM |
Use this
Model:GetExtentSize()/2 |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Oct 2015 10:10 PM |
@chim So a model at 50,50,50 with the size 10,10,10 is positioned at 5,5,5?
XD |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
chimmmihc
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 2420 |
|
|
| 16 Oct 2015 11:33 PM |
| Position + Model:GetExtent/2 |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 11:51 PM |
what im trying to find is the position/cframe
wtf
and model:GetModelCFrame() works exactly how i want it to, makes no sense why its deprecated because there isnt anything better |
|
|
| Report Abuse |
|
|
FlyNormal
|
  |
| Joined: 30 Sep 2015 |
| Total Posts: 344 |
|
|
| 17 Oct 2015 12:29 AM |
| Well model::GetModelCFrame is deprecated for some odd reasons. I believe mainly because ROBLOX wants players to start using Model.PrimaryPart more often as the center. Which I also believe is a better thing to do as it's more ordered that way. |
|
|
| Report Abuse |
|
|