SkriptonsJoin Date: 2013-03-29 Post Count: 1433 |
Is there a way to get a position of a model?
|
|
instawinJoin Date: 2013-06-04 Post Count: 8777 |
you can get the primary part's CFrame
model:GetPrimaryPartCFrame()
there's another method but i believe it is deprecated |
|
chimmihcJoin Date: 2014-09-01 Post Count: 17143 |
:GetModelCFrame()
I script -~ chimmihc |
|
|
Yep. GetModelCFrame is deprecated |
|
chimmihcJoin Date: 2014-09-01 Post Count: 17143 |
Still works and there is nothing replacing it.
Roblox logic:
K gonna get depreciate this useful method but not make a new one to use.
I script -~ chimmihc |
|
|
@chim It's deprecated in favor of PrimaryPart
Because PrimaryPart solves everything you needed that method for :P |
|
chimmihcJoin Date: 2014-09-01 Post Count: 17143 |
Primary part acts nothing like it, it is used for completely different things.
I script -~ chimmihc |
|
|
Lies
What can you do with the method that you can do using PrimaryPart? :) |
|
chimmihcJoin Date: 2014-09-01 Post Count: 17143 |
Get the center of the model without placing an invisible part there just for that purpose.
I script -~ chimmihc |
|
|
PrimaryPart is meant for that... |
|
|
It may be meant for that but it doesn't do that. |
|
chimmihcJoin Date: 2014-09-01 Post Count: 17143 |
You have to figure out the exact extents of the model to get the size and position right, any changes means resizing and repositioning the primary part.
A lot more work then simply model:GetModelCFrame().
I script -~ chimmihc |
|