Prop physics create: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(No difference)

Revision as of 10:40, 30 March 2023

English (en)Translate (Translate)

prop_physics_create is a console command cheat used to spawn a prop_physics in-game.

Usage

Its parameter is used in the form:

prop_physics_create <.mdl name>

Example

  • prop_physics_create props/metal_box.mdl
in Portal 2, this will spawn a cube where the player is aiming.
Icon-Bug.pngBug:it appears these prop_physics cannot be picked up  [todo tested in ?]

See also