Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrating PhysX engine 4.1.2 to mainline #179

Merged
merged 56 commits into from
Jan 11, 2024
Merged

Integrating PhysX engine 4.1.2 to mainline #179

merged 56 commits into from
Jan 11, 2024

Conversation

SNMetamorph
Copy link
Owner

@SNMetamorph SNMetamorph commented Sep 7, 2023

I can't assume this implementation as fully completed. This should be merged as it is, so I'll be able to switch to other necessary tasks. But there are some things that should be done later in future (even maybe somebody will help with it):

  • Interpolating rigid bodies state when applying it for entities (because physics ticks with other rate than actual game loop)
  • Testing and fixing problems with dynamic actors and pusher entities interacting
  • Fine-tuning all minor physics-related things so physics can look more completed and playable
  • Vehicles (we even have some snippets derived from XashXT, hidden under macro HAS_PHYSIC_VEHICLE)
  • Ragdolls (for this we need some mechanism to transfer bone matrices data to clients)
  • Physical units (since engine uses inches instead of meters, we can't use common SI units and instead forced to use other weird units based on inch)
  • Made water actors movable, because func_water can be moved around map (now there is assumption that water is always static)

@SNMetamorph SNMetamorph force-pushed the physx-sdk branch 8 times, most recently from b915a2b to 62c6a67 Compare September 14, 2023 12:07
@SNMetamorph SNMetamorph force-pushed the physx-sdk branch 2 times, most recently from 3e44eb3 to 16d7139 Compare September 14, 2023 20:45
@SNMetamorph SNMetamorph marked this pull request as ready for review September 14, 2023 20:54
@SNMetamorph SNMetamorph force-pushed the physx-sdk branch 3 times, most recently from 3569ce0 to 13d3e2a Compare September 21, 2023 14:06
@SNMetamorph SNMetamorph force-pushed the physx-sdk branch 2 times, most recently from d2f14ad to 9c21cec Compare October 22, 2023 00:30
@SNMetamorph SNMetamorph force-pushed the master branch 3 times, most recently from 42e91b5 to 8d5583e Compare October 31, 2023 00:18
@SNMetamorph SNMetamorph force-pushed the physx-sdk branch 5 times, most recently from e9a8b77 to 1c2ac2b Compare November 2, 2023 17:58
This fixes issue in SweepEntity when sweep geometry was colliding with itself.
This hack was causing "provided geometry is not valid" PhysX errors in SweepEntity, because pev->size may have negative values on any axis component.
This provides ability to filter unnecessary shapes contacts on earlier stages and therefore leads to better performance
@SNMetamorph SNMetamorph merged commit 393f583 into master Jan 11, 2024
12 checks passed
@SNMetamorph SNMetamorph deleted the physx-sdk branch January 11, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant