Info mass center: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Cleanup)
No edit summary
Line 1: Line 1:
{{base point|info_mass_center}} 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
{{base point|info_mass_center}}  
 
==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|class=class_c_info_mass_center.html CInfoMassCenter|file=physobj_8cpp-source.html physobj.cpp}}
{{in code|class=class_c_info_mass_center.html CInfoMassCenter|file=physobj_8cpp-source.html physobj.cpp}}

Revision as of 11:21, 8 May 2012

Template:Base point

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

Template:In code

Keyvalues

Target object ([todo internal name (i)]) <targetname>
The entity whose mass center will be overridden.