Commit Graph

35 Commits

Author SHA1 Message Date
ryan kautzman
d07137a6e8 Reconnect ether drag properties to the simulator for geometry collections. Move linear and angular ether drag properties from the GeometryCollectionComponent to UChaosPhysicalMaterial. Add static (angular) friction propterty to UChaosPhysicalMaterial.
[FYI] Benn.Gallagher, Michael.Lentine
#rb: none
#jira: none

#ROBOMERGE-OWNER: ryan.kautzman
#ROBOMERGE-AUTHOR: ryan.kautzman
#ROBOMERGE-SOURCE: CL 12915012 in //UE4/Release-4.25/... via CL 12915022 via CL 12915954
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12915962 by ryan kautzman in Main branch]
2020-04-20 04:54:20 -04:00
ryan kautzman
d8f7da8a24 Copy the ErrorReporter rather than taking a reference, so that the prefix doesn't get overwritten when called in parallel. Don't call PhiWithNormal() on a level set, if SignedDistance() will do the job.
[FYI] Michael.Lentine
#rb: none
#jira: none

#ROBOMERGE-SOURCE: CL 12682733 in //UE4/Release-4.25/... via CL 12682739 via CL 12682762
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12682773 by ryan kautzman in Main branch]
2020-04-08 20:52:13 -04:00
ori cohen
3d3769b711 IWYU changes
#rb none

#ROBOMERGE-OWNER: ori.cohen
#ROBOMERGE-AUTHOR: ori.cohen
#ROBOMERGE-SOURCE: CL 12673540 via CL 12673589 via CL 12673595 via CL 12673596
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12673600 by ori cohen in Main branch]
2020-04-08 10:59:25 -04:00
ori cohen
9cb385014d Remove lvl1 include guards from GeometryCollection
#rb none

#ROBOMERGE-OWNER: ori.cohen
#ROBOMERGE-AUTHOR: ori.cohen
#ROBOMERGE-SOURCE: CL 12623495 via CL 12623508 via CL 12623509 via CL 12623510
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12623517 by ori cohen in Main branch]
2020-04-06 12:50:13 -04:00
ori cohen
3493053799 Set various chaos related modules to have access to level 1 files
#rb none

#ROBOMERGE-OWNER: ori.cohen
#ROBOMERGE-AUTHOR: ori.cohen
#ROBOMERGE-SOURCE: CL 12511442 via CL 12511458 via CL 12511475 via CL 12511478
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12511485 by ori cohen in Main branch]
2020-04-01 17:09:25 -04:00
ori cohen
7ad6a77aa7 Add lvl1 header include (result of script)
#rb none

#ROBOMERGE-OWNER: ori.cohen
#ROBOMERGE-AUTHOR: ori.cohen
#ROBOMERGE-SOURCE: CL 12510784 via CL 12510899 via CL 12510908 via CL 12510913
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12510925 by ori cohen in Main branch]
2020-04-01 16:28:03 -04:00
Michael Lentine
9d5b184d57 Fix Static Analysis.
#rb none
#jira ue-91083

[CL 12451835 by Michael Lentine in 4.25 branch]
2020-03-26 12:28:56 -04:00
Benn Gallagher
4108815f8e Fixed crash when attempting to generate a levelset from an empty triangle mesh
#rb none
#jira

[CL 12417673 by Benn Gallagher in 4.25 branch]
2020-03-25 11:51:30 -04:00
Brice Criswell
e3d9d09ef7 Chaos : GeometyCollectionTest
Simplicial Collisions to implicits.

#rb none
#jira nojira

[CL 12372113 by Brice Criswell in 4.25 branch]
2020-03-23 11:55:33 -04:00
Brice Criswell
cf056828b8 Chaos : GeometryCollection Center of Mass
- Removed usage of MassToLocal for simplicial mass alignment.
- MassToLocal is only used for initialization of the Particle CenterOfMass and RotationOfMass.

#rb none
#jira nojira

[CL 12227651 by Brice Criswell in 4.25 branch]
2020-03-16 21:54:18 -04:00
Ryan Kautzman
edd57c0ab3 Don't fail level set rasterization if the mesh contains 1 small triangle (creating face normals fails). Fall back on implicit sphere if level set rasterization fails during geometry collection asset creation. Make sure geometry collection InnerRadius and OuterRadius are valid, and calculate if necessary. Generate implicit geometry for geometry collections in parallel. Downgrade spewage about empty-ish level sets to a warning.
#fyi: Benn.Gallagher, Brice.Criswell, Michael.Lentine
#rb: none
#jira: none

[CL 12121563 by Ryan Kautzman in 4.25 branch]
2020-03-10 20:13:40 -04:00
Brice Criswell
4a9e390baf Chaos :
- Basic Transform initialization tests - solver side.
- Mass initialization udpates.

#rb none
#jira nojira

[CL 12096778 by Brice Criswell in 4.25 branch]
2020-03-09 19:10:43 -04:00
Benn Gallagher
b69d306c35 Hooked up geometry collection to new SQ structures. GT dynamic collection now attached a TGeometryParticle array to store external geometry and transform for queries. Rotated Geometry Collection DDC key to fix previous serialization breakage.
#rb none
#jira
#fyi Ryan.Kautzman, Brice.Criswell

[CL 12063680 by Benn Gallagher in 4.25 branch]
2020-03-09 08:45:31 -04:00
Ryan Kautzman
d58529dae4 Remove the DynamicCollection from the geometry collection's FSimulationParameters. Make the GameThreadCollection on the FGeometryCollectionPhysicsProxy a reference to a collection passed to the constructor. So, the game thread dynamic collection is now owned outside of the proxy. Fixes the RigidBodies_SingleFallingUnderGravity test.
#fyi: Brice.Criswell, Michael.Lentine, Benn.Gallagher, Bill.Henderson
#rb: none
#jira: none

[CL 11970038 by Ryan Kautzman in 4.25 branch]
2020-03-05 20:22:47 -05:00
Ryan Kautzman
4002fa5f9f Fix GeometryCollectionTest RigidBodies_Initialize_ParticleImplictCollisionGeometry. Fix level set rasterization issues from geometry collections. Don't remove "small" triangles from surfaces to be used for level set rasterization. Add support for a gridded box geometry collection test structure, for a better approximation for the typical case of level set geometry. Add support for optionally removing geometricly degenerate triangles from a Chaos::TTriangleMesh.
#fyi: Michael.Lentine, Brice.Criswell, Benn.Gallagher, Bill.Henderson
#rb: none
#jira: none

[CL 11922228 by Ryan Kautzman in 4.25 branch]
2020-03-04 17:09:55 -05:00
Brice Criswell
7126cff50b Chaos : Destruction
-Removed cross collection clustering initialization support.
#rb none
#jira nojira

[CL 11847312 by Brice Criswell in 4.25 branch]
2020-03-02 17:04:57 -05:00
Ryan Kautzman
fff8c5a43e Merge 11447502 to Release-4.24.
Add error checking and reporting for level set generation and geometry collection collision shape initialization.

#fyi: Michael.Lentine, Devon.Penney, Brice.Criswell
#rb: none
#jira: none

[CL 11556100 by Ryan Kautzman in 4.25 branch]
2020-02-19 18:12:45 -05:00
Ryan Kautzman
0ef1ec5898 Merge 11407298 to Release-4.25.
Fix geometry collection transforms.  Fix a bug with collision particles including the origin.  Fix a problem with the geometry collection componet not being delivered simulation results, and having to compute transforms itself.  Fix an issue where it seems transforms and bounds were computed on data for the prior frame rather that the current.  Implement support for "None" as an option for geometry collection collision geometry.  Add a cvar for disabling gravity for geometry collections.  Code cleanup and compaction.  Do array preallocations where we can.

#fyi: Devon.Penney, Michael.Lentine, Brice.Criswell
#rb: none
#jira: UESP-2072

[CL 11555980 by Ryan Kautzman in 4.25 branch]
2020-02-19 18:03:48 -05:00
Ryan Kautzman
9d5d5e332a Merge 11257801 to Release-4.25.
Get clustering building with handles - preliminary checkin.

#fyi: Michael.Lentine
#rb: none
#jira: none

[CL 11555717 by Ryan Kautzman in 4.25 branch]
2020-02-19 17:37:30 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
brice criswell
fa8af6a878 DoCollide flag
- Repurposed the IgnoreAnalyticCollisions for a DoCollide flag on the ImplicitObject. Used to globally disable a bodies collisions.

#rb none


#ROBOMERGE-SOURCE: CL 10840139 via CL 10843261 via CL 10843536 via CL 10843650
#ROBOMERGE-BOT: (v610-10636431)

[CL 10843810 by brice criswell in Main branch]
2019-12-19 23:34:53 -05:00
marc audy
94548a8673 Change TBox to TAABB where we don't need the full generality
#rb none
[FYI] Ori.Cohen


#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: ori.cohen
#ROBOMERGE-SOURCE: CL 10611352 via CL 10611364 via CL 10613504
#ROBOMERGE-BOT: (v608-10590470)

[CL 10613506 by marc audy in Main branch]
2019-12-09 13:47:36 -05:00
michael lentine
ec8aeb4cd9 Fix fields for geometry collections.
#rb Benn.Gallagher, Ryan.Kautzman
#jira ue-84808
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: michael.lentine
#ROBOMERGE-AUTHOR: michael.lentine
#ROBOMERGE-SOURCE: CL 10479354 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v605-10478255)

[CL 10479364 by michael lentine in Main branch]
2019-11-28 23:50:13 -05:00
Benn Gallagher
ea08a4feb7 Removed T from TChaosPhysicsMaterial. Rename to FChaosPhysicsMaterial. Clean up old code in Defines.h
#rb none
#jira


#ROBOMERGE-OWNER: Benn.Gallagher
#ROBOMERGE-AUTHOR: benn.gallagher
#ROBOMERGE-SOURCE: CL 10054737 via CL 10054742 via CL 10054751
#ROBOMERGE-BOT: (v565-10026848)

[CL 10054933 by Benn Gallagher in Main branch]
2019-11-06 08:55:27 -05:00
ori cohen
5799e29c3c First pass removing T,d from Chaos. Only ImplicitObject
#rb none


#ROBOMERGE-OWNER: ori.cohen
#ROBOMERGE-AUTHOR: ori.cohen
#ROBOMERGE-SOURCE: CL 9944680 via CL 9944735
#ROBOMERGE-BOT: (v558-9892490)

[CL 9945739 by ori cohen in Main branch]
2019-10-31 17:28:08 -04:00