Commit Graph

76 Commits

Author SHA1 Message Date
kriss gossart
0422ca7705 Skeletal Mesh - Replace the newly created GetSkeletalMesh function by GetSkeletalMeshAsset so it matches the setter SetSkeletalMeshAsset function (which itself couldn't be named SetSkeletalMesh due to the function already existing and doing something else).
#rb Josie.Yang
#preflight 62fa2afeae3edb54c979492e
#jira none

[CL 21385959 by kriss gossart in ue5-main branch]
2022-08-15 09:26:50 -04:00
nick brett
be3323e0db [UE][FEATURE] PhAT Constraint Transform Editing
- Enable users to view and edit the parent and child frame transforms of constraints in the PhAT details panel
- Constraint transforms are represented as a position and a rotator in the details panel (internally they are represented as a position and a pair of orthonormal vectors)
- Constraint transforms can optionally be displayed in the frame of the assocaited bone OR relative to the default (snapped) transforms
- Allow parent / child transform position / orientation componenets to be 'snapped' to defaults individually
- Support using modifier keys to manipulate only the child frame transform via a viewport widget

#jira UE-119744
#jira UE-119741
#rb [at]Thomas.Sarkanen, [at]sebastian.nordgren
#preflight 62f13b9a23003b62a3d4c277

#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 21282618 via CL 21282632 via CL 21282638
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21283069 by nick brett in ue5-main branch]
2022-08-09 07:30:26 -04:00
nick brett
acd363943d [UE][FIX] Add range checks to PhAT Mirror function
#rmx
#preflight none

#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 21203924 via CL 21203936 via CL 21203944
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21205491 by nick brett in ue5-main branch]
2022-07-21 14:39:13 -04:00
nick brett
975fe5fde0 [UE][FIX] Fix for Phat M to mirror bodies breaks the collision setups
- Extended bone mirroring to support bone names that have "_l_" or "_r_" patterns in the middle (previously just supported l_/r_ prefix or _l/_r suffix)
- Transfer collision interaction markup from source to mirrored bones by mirroring the bones controlled by the source body's colliding bodies.
- Added a notification to report any errors in mirroring collision interactions

#rb [at]Thomas.Sarkanen, [at]Cedric.Caillaud
#jira UE-109893
#preflight 62d652dc164251d065cd618c

#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 21177252 via CL 21177454 via CL 21181230
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21192458 by nick brett in ue5-main branch]
2022-07-20 18:30:32 -04:00
nick brett
f1778655f8 [UE][FIX] Multi-Select in PhAT tree view
SetSelectedBodiesAnyPrimitive now selects the first primitive in each body in the supplied list, not just the first body.

[REVIEW] [at]Thomas.Sarkanen
#rmx

#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 21037848 via CL 21037849 via CL 21037853
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21038196 by nick brett in ue5-main branch]
2022-07-11 08:07:56 -04:00
steven barnett
dd1f657e9a This change adds a UBodySetup from-text factory called FBodySetupObjectTextFactory, which is used in PHAT and the Static Mesh editor to enable cross-copy/pasting of shapes from physics setups.
In FN, the workflow for creating physics assets for vehicles often involves importing at least one static mesh and copying collision shapes from it. It's currently really challenging to copy individual shapes between static and skeletal mesh body setups. With the added shape copy/paste commands, we get a lot more flexibility out of SM editor and PHAT, and a somewhat simpler workflow.

If we have physics assets A and B and we want to add one shape (or a specific subset of shapes) from a body in A to a body in B, this change is needed to do that. Since I'm trying to do this all the time while editing physics assets for vehicles, I use this shelf locally.

#rb benn.gallagher, nick.brett, satchit.subramanian

#ROBOMERGE-AUTHOR: steven.barnett
#ROBOMERGE-SOURCE: CL 20861874 via CL 20861887 via CL 20861898
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20876607 by steven barnett in ue5-main branch]
2022-06-29 12:17:25 -04:00
steven barnett
d4e750825a Add PHAT controls for setting and selecting per-shape collisionenabled settings. Specifically:
- Added menu options for setting shapes to QueryAndProbe and ProbeOnly
- Added PHAT actions for selecting shapes in a body based on collision type (useful for complex physics setups)

This change depends on 20366101, which adds the QueryAndProbe and ProbeOnly CollisionEnabled settings going in first.

#rb nick.brett

#ROBOMERGE-AUTHOR: steven.barnett
#ROBOMERGE-SOURCE: CL 20797066 via CL 20799858 via CL 20801530
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20803683 by steven barnett in ue5-main branch]
2022-06-23 18:08:51 -04:00
Josie Yang
6b15506e58 Replace direct access to SkeletalMesh object from USkinnedMeshComponent with GetSkeletalMesh function
#rb kriss.gossart
#preflight 62aafc9ada0af39a4783930a

[CL 20686007 by Josie Yang in ue5-main branch]
2022-06-16 09:14:04 -04:00
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