Commit Graph

10 Commits (ccbb0f45f574cfa7eebfc7bd5df2d1dd006845e3)

Author SHA1 Message Date
Aaron Ruiz Mora 00e860f326
Physics material system for spectra launch
- Invalidate 'Physics Materials From Mesh' boolean from collider component
- Removed material library from material selector. Default material library will always be used instead.
- Marking failing automated test as xfail
- Added default material to physics configuration.
- Moved material library asset from physx configuration to physics configuration, as it doesn't need to be physx specific.
- Refactor physics material system having into account that there is only one material library in the project.
- Renaming code from DefaultMaterialLibrary to MaterialLibrary.
- All queries about physics materials unified under PhysicsMaterialRequests bus.
- PhysXSystem only manages the material library asset.
- Saving and reloading the same physics material asset with different content didn't trigger a events that the material library has changed.
- Changing Physics Material Request interface to use shared_ptr instead of weak_ptr to be simpler to handle the returned materials and having a more consistent code.
- Refactored Material Manager to improve its implementation. Still following the same approach of "creating materials on the fly as they are requested", but now it's doing it consistently across the interface, with private helpers functions FindOrCreateMaterial that simplify vastly the implementation.
- Material Manager now listens to change event of material library asset and default material configuration so it updates its materials accordingly.
- Complete Material move constructor and operator.
5 years ago
amzn-sean 5e50fc2961 fix build failure 5 years ago
amzn-sean 95a44c481a fixed errors from main merge 5 years ago
amzn-sean 9f0075c9df cleanup of create ragdoll ptr handling 5 years ago
amzn-sean cd978eaa93 fix potential memory leak 5 years ago
amzn-sean 0e803713bf Ragdoll now uses Add/Remove SimulatedBody
Addressed Minor Character PR feedback
5 years ago
amzn-sean 7ac246bab5 Character controller now uses Add/Remove Simulated Body 5 years ago
alexpete 1044dc3da1 Integrating github/staging through commit ab87ed9 5 years ago
alexpete c2cbd430fe Integrating up through commit 90f050496 5 years ago
alexpete a10351f38d Initial commit 5 years ago