Commit Graph

68 Commits

Author SHA1 Message Date
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
cedric caillaud
273549a5b3 Phat : fix invalid reported number of bodies and ocnstraints when pasting from nothing, also fixed typo
#rb trivial
#jira none
#preflight 62841fa14c6f62e119883f71

[CL 20253620 by cedric caillaud in ue5-main branch]
2022-05-17 19:35:07 -04:00
nick brett
78a3520cbc [UE][FEATURE] PhAT - Move Simulation Floor Collisions option to Editor Options so that it persists across editor instances.
#rb Thomas.Sarkanen
#preflight 627cce5480307e522bc78107

#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 20162683 via CL 20162686 via CL 20162689
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20163248 by nick brett in ue5-main branch]
2022-05-12 08:09:12 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
nick brett
4438285ef9 [UE][FEATURE] Allow floor collisions to be disabled during simulation in PhAT
- Added a Floor Collision Enabled Checkbox to the 3-dots options menu attached to
the Simulate Tool bar button in PhAT.

#rb [at]Cedric.Caillaud
#preflight 626bdfcf7272eba608628667

#ROBOMERGE-OWNER: nick.brett
#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 20022773 via CL 20022869 via CL 20022876
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20023223 by nick brett in ue5-main branch]
2022-05-03 06:39:43 -04:00
marc audy
e805df95ab Fix merge error that duplicated line
#rnx

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 19330855 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19348521 by marc audy in ue5-main branch]
2022-03-10 22:15:25 -05:00
nick brett
7e1eab27e2 [UE][Feature] RBAN Better Debug Draw - 2nd attempt
- Added Debug Visualization of physics bodies and constraints for RBAN nodes in AnimBP editor
- Added checkboxes to filter debug Visualization to Phat skeleton tree
- Created a new PhysicsAssetRenderSettings class that incorporates the debug rendering and filtering settings from Phat
- Created a new PhysicsAssetRenderUtilities namespace that incorporates the debug rendering and filtering code from Phat
- Synchronize debug visualization of physics bodies and constraints between Phat and AnimBP editors

oringinaly submitted as cl-19242421 but failed on non-unity build so backed out

#rb [at]Chris.Caulfield, [at]Thomas.Sarkanen, [at]Cedric.Caillaud
#preflight 6221e57d335298c3145112d1

#ROBOMERGE-OWNER: nick.brett
#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 19283727 via CL 19295417 via CL 19304854 via CL 19304870
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19347122 by nick brett in ue5-main branch]
2022-03-10 21:02:14 -05:00
cedric caillaud
d4defade73 Physics Asset editor fixes
- Refresh physics asset editor hierachy when pasting bodies from clipboard
- Copy of only constraints now works
- Change wording of the copy a/ paste commands to reflect teh body constraint dulaity
- Fix duplicate menu entry for constraint context menu

#rb none
#jira UE-126847, FORT-425181, FORT-425179, FORT-425180
#preflight 61f0cfb0e12e3fcf9b077ba8

#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 18732730 in //UE5/Release-5.0/... via CL 18732731 via CL 18732779
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18732783 by cedric caillaud in ue5-main branch]
2022-01-26 00:50:12 -05:00
aditya ravichandran
b2cf02aedd Physics Asset Profiles Reskin
#jira UE-133594
#rb louise.rasmussen
#preflight 619ba9fd664cbb92c7c7883d

[CL 18261201 by aditya ravichandran in ue5-main branch]
2021-11-22 13:47:00 -05:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
danny chapman
2a43406efe Fix/improve transparency sorting and shading in editor when opacity is 1
Option for the grab/poke raycast distance

#jira UE-129539
#jira UE-130564

#rb cedric.caillaud
#preflight 615c2e46f556160001b5d5d5

#ROBOMERGE-AUTHOR: danny.chapman
#ROBOMERGE-SOURCE: CL 17719687 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17719705 by danny chapman in ue5-release-engine-test branch]
2021-10-05 07:48:54 -04:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
julien lheureux
acd4b3b9fc Cleaned up constraint instance properties copy across the physics editor & blueprint libraries
Added profile update when using constraint instance accessor from a physics asset
Added some blueprint functions to clean up usage & harmonize physics asset with skeletal mesh component
Changing properties in the accessor now dirties the asset

#rb cedric.caillaud
#preflight 61094ad75938f90001fc4657

#ROBOMERGE-SOURCE: CL 17055393 via CL 17055402
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v850-17047176)

[CL 17055410 by julien lheureux in ue5-release-engine-test branch]
2021-08-04 13:50:10 -04:00
julien lheureux
9389dda750 Improved copy/paste properties behavior in the physics asset editor to allow for cross-asset copy/paste.
Fixed issue where the rotation would be copied as well when it shouldn't be.

#rb cedric.caillaud
#preflight 6100824291123700017e94cf

#ROBOMERGE-SOURCE: CL 16981495 via CL 16981508
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16981510 by julien lheureux in ue5-release-engine-test branch]
2021-07-28 09:03:43 -04:00
alexis matte
888f708d3b Allow Physics asset to be a developper module with no dependencecies on any editor module.
#jira UETOOL-3603
#rb richard.talbotwatkin
#preflight 60d1e95f78c3b000010f6005

#ROBOMERGE-SOURCE: CL 16743468 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16743480 by alexis matte in ue5-release-engine-test branch]
2021-06-22 11:13:19 -04:00
aurel cordonnier
02c0f425e8 Copy up from Release-Engine-Staging @ 16738359
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719

[CL 16738582 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-22 00:27:54 -04:00
aurel cordonnier
25a11deeac Merge from Release-Engine-Staging @ 16579919
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16581170 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-07 20:09:45 -04:00
cedric caillaud
99765917bd Physics asset editor : improvement and bug fixes
- add isolate mode for showing colliding rigid bodies ( hotkey : C )
- fix right click menu clearing multi-selection

[CL 16176624 by cedric caillaud in ue5-main branch]
2021-05-01 00:26:30 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
zhenglin geng
7d13922b2d Move solver type option to UPhysicsAsset and set default solver type to World in PhAT
#rb chris.caulfield, cedric.caillaud
#jira UE-112172

#ushell-cherrypick of 15882523 by Zhenglin.Geng

#ROBOMERGE-SOURCE: CL 15883294 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15889287 by zhenglin geng in ue5-main branch]
2021-04-01 10:44:33 -04:00
zhenglin geng
2abad04489 Disable main solver when running RBAN in PhAT.
#rb chris.caulfield, cedric.caillaud
#jira UE-107279

#ROBOMERGE-SOURCE: CL 15779860 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15787351 by zhenglin geng in ue5-main branch]
2021-03-23 19:08:45 -04:00
benn gallagher
ad08e9bdd1 Fix UE4 reference in comment for phys asset shared data
#rb trivial
#jira UE-111751

#ROBOMERGE-SOURCE: CL 15774308 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15785948 by benn gallagher in ue5-main branch]
2021-03-23 17:58:18 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
cedric caillaud
2bd90e36b1 Physics - Fix improper use of JointName as a way to find the child bone of the constraint
This was broken when using user created constraint ( in Physics Asset Editor ) that result in constraints named with "UserConstraint" prefix
This is mostly affecting SkeletalMeshComponent limit and motor related functions ( and constraint breaking functions ) as well as  potentially some physics assets editor selection behaviour
- Added GetChildBoneName() and GetParentBoneName() to FConstraintInstance for API clarity
- Fixed all UE code improperly using JointName and used GetChildBoneName instead

#jira FROST-1148
#rb chris.caulfield, shon.love, brice.criswell

[CL 15562767 by cedric caillaud in ue5-main branch]
2021-03-01 18:02:39 -04:00