info_mass_center

From Valve Developer Community
Revision as of 18:21, 8 May 2012 by Dmx6 (talk | contribs)

(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 <targetname>
The entity whose mass center will be overridden.