This article's documentation is for anything that uses the Source engine. Click here for more information.

Info mass center: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
m (→‎See also: Unicodifying, replaced: See Also → See also)
Line 8: Line 8:




== See Also ==
== See also ==
* [[prop_physics]]
* [[prop_physics]]
* [[func_physbox]]
* [[func_physbox]]

Revision as of 10:12, 8 January 2024

C++ Class hierarchy
CInfoMassCenter
CPointEntity
CBaseEntity
C++ physobj.cpp

info_mass_center is an e0 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