Info mass center: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (link)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=info_mass_center}}
{{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}}
 
==Entity Description==
An [[entity]] that 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}}


==Keyvalues==
== Keyvalues ==
*'''target'''
{{KV|Target object|target_destination|The entity whose mass center will be overridden.}}
:<target_destination> The entity whose mass center will be overridden.

Revision as of 08:41, 26 July 2011

Template:Base point 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.