info_mass_center

From Valve Developer Community
Revision as of 03:56, 18 March 2021 by Rhiono (talk | contribs) (Add internal name target)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

info_mass_center is a point entity available in all Source games.

Entity description

It overrides the mass center of the target physics prop or func_physbox by moving it to the info_mass_center's location. Removed after map spawn

In code it is represented by class CInfoMassCenter, defined in physobj.cpp.

Keyvalues

Target object (target) <targetname>
The entity whose mass center will be overridden.