Player Physics Deformation

From P2SR Wiki

Revision as of 07:52, 8 November 2020 by Jerry (talk | contribs) (Created page with "{{P2_Title|Player Physics Deformation}} ==Overview== '''Player Physics Deformation''' (PPD, also known as Physics Deformation of Object) is a physics engine glitch which allow...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Player Physics Deformation

Overview

Player Physics Deformation (PPD, also known as Physics Deformation of Object) is a physics engine glitch which allows to rotate or start spinning one of your Vphys shadow collision boxes around X axis, consequently partially separating player's Vphys collision from Qphys collision, allowing different unusual physics interactions like clipping through walls and boosting yourself and props in different directions.

Rotating collision hitbox

When player's Vphys collision box is within any other solid physics object, its angular velocity is increased. It is, however, immediately reset to 0, but it's still enough to affect rotation of the collision box. There are multiple ways to achieve that, but the easiest one is to slightly offset the Vphys collision box from Qphys one by walking against the wall, then dropping a solid prop extremely close to you, so that it's dropped within the collision box. It also seems like different things can cause the collision box to reset its rotation. These things include:

  • Changing your Vphys collision box (by crouching or uncrouching)
  • walking into a step up or down.

Spinning collision box

As previously described, the game resets the angular velocity as soon as we affect it. This can be avoided, causing the angular velocity to be not only stored but also built up. To achieved this effect, you have to disable the gravity of the collision box you want to spin, which can be done by getting Crouch Flying Glitch with the collision box of your choice (and then optionally getting rid of it). That happens because funnel code disables and enables gravity for objects that enter and leave it, but can reenable it only when funnel counter is equal to 0, which allows us to keep the gravity flag of vphys collision box disabled even after getting rid of CFG[1].

This effect, unfortunately, cannot be stored through save-loading or different maps, since any of these actions cause the physics simulation to reset, causing the gravity flag for vphys collision box to be reset as well.

References

  1. For more informations, it is heavily suggested to read Crouch Flying Glitch page.