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

Simple physics prop: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy, cleanup)
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{ent not in fgd|nolink=1|because=it can only be configured through code}}
{{ent not in fgd|nolink=1|because=it can only be configured through code}}
{{CD|CSimplePhysicsProp|file1=physobj.cpp}}
{{CD|CSimplePhysicsProp|file1=physobj.cpp}}
{{entity|type=e0|simple_physics_prop}} It is a simple physics prop with no unique properties. Model-based entities converted by [[phys_convert]] are turned into this entity. Doesn't have any physics when spawned by other means. This is also used for objects being dissolved by a [[trigger_portal_cleanser]].
{{this is a|name=simple_physics_prop|e0}} It is a simple physics prop with no unique properties. Model-based entities converted by [[phys_convert]] are turned into this entity. Doesn't have any physics when spawned by other means. This is also used for objects being dissolved by a [[trigger_portal_cleanser]].


{{note|If placed manually using Hammer, the entity will spawn suspended in mid-air and without any solidity. It's usually better to use a phys_convert on a [[prop_dynamic]], or just use a [[prop_physics]].}}
{{note|If placed manually using Hammer, the entity will spawn suspended in mid-air and without any solidity. It's usually better to use a phys_convert on a [[prop_dynamic]], or just use a [[prop_physics]].}}

Revision as of 13:00, 4 January 2024

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it can only be configured through code.
C++ Class hierarchy
CSimplePhysicsProp
CBaseProp
CBaseAnimating
CBaseEntity
C++ physobj.cpp

simple_physics_prop is an e0 available in all Source Source games. It is a simple physics prop with no unique properties. Model-based entities converted by phys_convert are turned into this entity. Doesn't have any physics when spawned by other means. This is also used for objects being dissolved by a trigger_portal_cleanser.

Note.pngNote:If placed manually using Hammer, the entity will spawn suspended in mid-air and without any solidity. It's usually better to use a phys_convert on a prop_dynamic, or just use a prop_physics.

See Also