We have MoveTo, TranslateBy, GetExtentsSize functions but no way of getting the position?
I can solve this other ways, but I just thought it’d be a natural thing given it already has these 3 functions.
What about:
Model:GetPrimaryPartCFrame().p
I suppose that doesn’t return the centre of the model, but that’s what I use if I want the Model’s position.
[quote] What about:
Model:GetPrimaryPartCFrame().p
I suppose that doesn’t return the centre of the model, but that’s what I use if I want the Model’s position. [/quote]
As you said, it does not give the center of the model which makes it useless in precise calculations.
Model:GetModelCFrame() exists, even though it was deprecated without reason. It still works perfectly fine though.
Define “center”.
Centre of mass? Centre of minimal bounding sphere? Centre of minimal bounding box?
[quote] Define “center”.
Centre of mass? Centre of minimal bounding sphere? Centre of minimal bounding box? [/quote]
Works like a charm! Thanks!