VPhysics: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
'''Vphysics''' are objects with physical characteristics (meaning they are affected by engine physics such as gravity or inertia).
'''Vphysics''' is the physical simulation engine used by the Source Engine. VPhys simulated objects have physical characteristics (such as mass and bouyancy), a collision hull, and are simulated by the VPhysics Engine (which gives them inertia, velocity, and applies forces from gravity and collisions).


This category includes [[prop_physics|physics props]], physically simulated NPCs (like [[npc_cscanner|scanners]], [[npc_manhack|manhacks]], [[npc_rollermine|rollermines]]), [[func_physbox]] entities, items that can be picked up (like [[weapon_smg1]] or [[item_healthkit]]), thrown frag grenades, and combine AR2 energy balls.
This category of objects includes [[prop_physics|physics props]], physically simulated NPCs (like [[npc_cscanner|scanners]], [[npc_manhack|manhacks]], [[npc_rollermine|rollermines]]), [[func_physbox]] entities, items that can be picked up (like [[weapon_smg1]] or [[item_healthkit]]), drivable vehicles, thrown (and pickupable) frag grenades, and combine AR2 energy balls.


The category contrasts to things hull simulated (like players, living (non physics based) NPCs, in-flight RPGs and SMG grenades) or ray simulated (bullets).
Other categories include hull simulated (like players, living (non physics based) NPCs, in-flight RPGs and SMG grenades) and ray simulated (bullets).


Entities handling vphysics are [[func_clip_vphysics]], [[trigger_vphysics_motion]], and other [[physics]] entities.
Entities handling vphysics are [[func_clip_vphysics]], [[trigger_vphysics_motion]], and other [[physics]] entities.

Revision as of 12:09, 15 October 2006

Vphysics is the physical simulation engine used by the Source Engine. VPhys simulated objects have physical characteristics (such as mass and bouyancy), a collision hull, and are simulated by the VPhysics Engine (which gives them inertia, velocity, and applies forces from gravity and collisions).

This category of objects includes physics props, physically simulated NPCs (like scanners, manhacks, rollermines), func_physbox entities, items that can be picked up (like weapon_smg1 or item_healthkit), drivable vehicles, thrown (and pickupable) frag grenades, and combine AR2 energy balls.

Other categories include hull simulated (like players, living (non physics based) NPCs, in-flight RPGs and SMG grenades) and ray simulated (bullets).

Entities handling vphysics are func_clip_vphysics, trigger_vphysics_motion, and other physics entities.