This article relates to the game "Postal III". Click here for more information.

p3_prop_physx

From Valve Developer Community
Revision as of 03:28, 3 August 2024 by Kr0tchet (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)

p3_prop_physx is a point entity available in Postal III Postal III. It is used to add models that utilizes the Nvidia PhysX physics engine.

p3_prop_physx entity with Postal Dude model (one of the only cloth models that utilizes PhysX physics engine).
Left - PhysX disabled; Right - PhysX enabled
p3_prop_physx after being interacted by the player (Postal Dude), by walking or kicking the cloth model itself.

This entity are designed to work with certain cloth models, such as one used in Postal Dude's coat. It also does not interact or react with props using Havok physics, grenade explosions or bullets. Disabling PhysX using physx_enabled 0 or launch argument -nophysx will replace part of the "cloth" models with solid color (such as purple) and disable the PhysX physics engine entirely.

In the case with Postal Dude model, disabling PhysX will cause the game to load a fallback version with preset animations.

Keyvalues

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Model (model) <string>
The model this entity should appear as.
Confirm:Does the 128-character limit apply to this entity?
Wind Entity (windentity) <targetname>
Attach to a wind entity.
Confirm:env_wind or p3_physx_wind?