Talk:Physics prop: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "== This is literally another name for prop_physics == <code>'''LINK_ENTITY_TO_CLASS( physics_prop, CPhysicsProp );'''</code> <code>LINK_ENTITY_TO_CLASS( prop_physics, CPhysi...")
 
mNo edit summary
Line 17: Line 17:
}</code>
}</code>


Why do we need an entirely different article for this, exactly?
Why do we need an entirely different article for this, exactly? --[[User:Blixibon|Blixibon]] ([[User talk:Blixibon|talk]]) 14:39, 6 August 2018 (UTC)

Revision as of 07:39, 6 August 2018

This is literally another name for prop_physics

LINK_ENTITY_TO_CLASS( physics_prop, CPhysicsProp );

LINK_ENTITY_TO_CLASS( prop_physics, CPhysicsProp );

LINK_ENTITY_TO_CLASS( prop_physics_override, CPhysicsProp );

Not only that, but its classname is changed back to prop_physics after spawning:

if ( FClassnameIs( this, "physics_prop" ) )

{

SetClassname( "prop_physics" );

}

Why do we need an entirely different article for this, exactly? --Blixibon (talk) 14:39, 6 August 2018 (UTC)