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

Physics npc solver: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ent not in fgd|nolink=1}} {{CD|CPhysicsNPCSolver|file1=physics_npc_solver.cpp}} {{this is a|point entity|name=physics_npc_solver}} It's an entity used to keep physics object...")
 
(its position in the world irrelevant so it's logical entity)
 
Line 1: Line 1:
{{ent not in fgd|nolink=1}}
{{ent not in fgd|nolink=1}}
{{CD|CPhysicsNPCSolver|file1=physics_npc_solver.cpp}}
{{CD|CPhysicsNPCSolver|file1=physics_npc_solver.cpp}}
{{this is a|point entity|name=physics_npc_solver}} It's an entity used to keep physics objects and NPC's from looking weird when they touch. This is what causes physics objects to fall off an NPC's head.
{{this is a|logical entity|name=physics_npc_solver}} It's an entity used to keep physics objects and NPC's from looking weird when they touch. This is what causes physics objects to fall off an NPC's head.
{{note|Always appears at <code>0 0 0</code> position.}}
{{note|Always appears at <code>0 0 0</code> position.}}


[[Category:Physics]][[Category:NPCs]]
[[Category:Physics]][[Category:NPCs]]

Latest revision as of 07:24, 29 April 2025

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CPhysicsNPCSolver
CLogicalEntity
CServerOnlyEntity
CBaseEntity
C++ physics_npc_solver.cpp

physics_npc_solver is a logical entity available in all Source Source games. It's an entity used to keep physics objects and NPC's from looking weird when they touch. This is what causes physics objects to fall off an NPC's head.

Note.pngNote:Always appears at 0 0 0 position.