#Get center of mass of a model

1 messages · Page 1 of 1 (latest)

final fog
#

I want to get the center of mass of this plane to keep it stable, right now there is too much weight at the back which causes the nose to pitch up and eventually resulting in the plane doing backflips. So how would I actively track the center of mass WHILE building the plane? Thanks.

torpid veldt
#
local COM = Model.PrimaryPart.AssemblyCenterOfMass --PrimaryPart probably has to be set manually
modern gazelle
#

Or you can get all children, get their mass and position, then add the total mass to eachtohet, then get the position (vector3) and multiply it by the mass then divide the resulting vector3 by the total mass

silk talon
#

he's talking about the center of mass

#

not the mass

modern gazelle
#

Did you even read what i said?

silk talon
#

my bad

#

I'm sowwy 🥺

modern gazelle
#

Its fine mistakes happen