P3 prop physx: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{{this is a|point entity|game=Postal III|name=p3_prop_physx}} It is used to add models that utilizes the [[WP:PhysX|Nvidia PhysX]] physics engine.
{{this is a|point entity|game=Postal III|name=p3_prop_physx}} It is used to add models that utilizes the [[WP:PhysX|Nvidia PhysX]] physics engine.
[[File:p3_prop_physx.jpg|thumb|right|260px|{{ent|p3_prop_physx}} entity with Postal Dude model (one of the only cloth models that utilizes PhysX physics engine).<br>Left - PhysX disabled; Right - PhysX enabled]]
[[File:p3_prop_physx.jpg|thumb|right|260px|{{ent|p3_prop_physx}} entity with Postal Dude model (one of the only cloth models that utilizes PhysX physics engine).<br>Left - PhysX disabled; Right - PhysX enabled]]
[[File:P3_prop_physx_before_and_after_interacted.jpg|thumb|right|260px|{{ent|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. Disabling PhysX using {{code|physx_enabled 0}} will replace part of the "cloth" models with purple color and disable the PhysX physics engine entirely.
 
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, grenades or bullets. Disabling PhysX using {{code|physx_enabled 0}} will replace part of the "cloth" models with purple color and disable the PhysX physics engine entirely.  


==Keyvalues==
==Keyvalues==

Revision as of 00:15, 23 July 2024

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, grenades or bullets. Disabling PhysX using physx_enabled 0 will replace part of the "cloth" models with purple color and disable the PhysX physics engine entirely.

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:Is there's 128-character limit on this entity?
Wind Entity (windentity) <targetname>
Attach to a wind entity.
Confirm:env_wind or p3_physx_wind?