Commit Graph

20 Commits (b31de1da3304067149ac309acb63d280744953c3)

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-AlexOteiza 906780a01f
Reorganized PythonTests CMakeLists (#716)
Reorganized Python Tests CMakeLists.txt

Co-authored-by: Garcia Ruiz <aljanru@amazon.co.uk>
5 years ago
Terry Michaels 8ddfcabae7
Removed unneeded comments (#673) 5 years ago
amzn-sean 15787293bf fixing physics pytests that fail 5 years ago
Aaron Ruiz Mora f258802377
(cherry-pick from 1.0) Fix registry colliding by using a different extension for the files used to override registry 5 years ago
hnusrath fdb461b3ca SPEC-6677 Remove TestRail URLs from Physx Tests 5 years ago
amzn-sean 24167e7c02 address PR comments 5 years ago
amzn-sean be7d34b856 Merge branch 'main' into physx_fix_tests 5 years ago
hnusrath 5a60cb15fc
Spec-5799 Add PhysX tests to Main Suite to run under 3 min (#368)
* Spec-5799 Add PhysX tests to Main Suite to run under 3 min

Adding 12 tests to Main Suite from Periodic Suite. Moved 1 test case to
Sandbox Suite as it was failing and needs to be investigated.

Run results on local : 12 passed, 1 warning in 172.31s (0:02:52)

Test Case list in Main suite:
test_C111111_RigidBody_EnablingGravityWorksUsingNotificationsPoC
test_C5932041_PhysXForceRegion_LocalSpaceForceOnRigidBodies
test_C4044459_Material_DynamicFriction test_C15425929_Undo_Redo
test_C4976243_Collision_SameCollisionGroupDiffCollisionLayers
test_C14654881_CharacterController_SwitchLevels
test_C17411467_AddPhysxRagdollComponent
test_C12712453_ScriptCanvas_MultipleRaycastNode
test_C4982593_PhysXCollider_CollisionLayerTest
test_C18243586_Joints_HingeLeadFollowerCollide
test_C19578021_ShapeCollider_CanBeAdded
test_C4982803_Enable_PxMesh_Option

Test moved to Sandbox Suite :
test_C13895144_Ragdoll_ChangeLevel

* Delete .gitignore

* Revert "Delete .gitignore"
This reverts commit 9540e000c85e2a2015fbb8251f0a3248494349b0.
Revert the modification of adding the buildoutput folder.

* Spec-5799:Fixing Cyclinder ShapeCollider test and adding it to Main
Suite

Changes :
1. Fixed and Added test
   C24308873_CylinderShapeCollider_CollidesWithPhysXTerrain to
   TestSuite_Main.py and updated the level for the test.
2. Removed test test_C19578021_ShapeCollider_CanBeAdded from Main suite
   back to Periodic Suite

* Update TestSuite_Periodic.py

Adding xfail to test case test_C13895144_Ragdoll_ChangeLevel as the previous change had overridden Sean Cove's change with commit 95a44c481a

* Update TestSuite_Sandbox.py

Removing test case test_C13895144_Ragdoll_ChangeLevel and moving it to Periodic Suite as the previous change had overridden Sean Cove's change with commit 95a44c481a

Co-authored-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
5 years ago
amzn-sean 937d0ac726 bump inter-test timeout by 1 sec for C5932042_PhysXForceRegion_LinearDamping 5 years ago
amzn-sean 524652ee17 fixed C18243589_Joints_BallSoftLimitsConstrained test failure 5 years ago
amzn-sean 5e50fc2961 fix build failure 5 years ago
amzn-sean 95a44c481a fixed errors from main merge 5 years ago
AMZN-AlexOteiza 3f32cc929c
Fixed All Physics automated tests (#129)
* Fixed all Tests.
* Fixed tests stdout redirection
* Changed return code for failed tests to be 0xF
* Small improvements on automated testing code
* Created Periodic test suite and moved tests
* Made physics main to only have one test for now
* Renamed all tests to have leading AutomatedTesting::
5 years ago
evanchia c1e3e0fe5e Moving hydra util files into a package 5 years ago
alexpete 8469c9ca0a Integrating github/staging through commit 5f214be 5 years ago
alexpete 1044dc3da1 Integrating github/staging through commit ab87ed9 5 years ago
alexpete c2cbd430fe Integrating up through commit 90f050496 5 years ago
Brian Herrera e8bbb5a0d5 Set scripts to be executable
This is required to build on linux/mac
5 years ago
alexpete 75dc720198 Integrating latest 47acbe8 5 years ago