Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
This article's documentation is for anything that uses the Source engine. Click here for more information.

info_mass_center

From Valve Developer Community
Jump to: navigation, search
class hierarchy
CInfoMassCenter defined in physobj.cpp
CPointEntity
CBaseEntity

info_mass_center is a point entity available in all Source Source games. 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

Tip.pngTip:If you want to use this entity using vscript you need to first spawn this entity and then the desired physics prop

Keyvalues

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


See also