Commit Graph

123 Commits

Author SHA1 Message Date
Aris Theophanidis
1ce51d1f9a New fix for hf.EdgeHits static analysis warning (SA seems pretty mixed up about it)
#rb Yoan.StAmant
#jira UE-88298

[CL 11350044 by Aris Theophanidis in Main branch]
2020-02-11 14:29:29 -05:00
Aris Theophanidis
b7f18fd007 Tentative fix for SA hf.EdgeHits
#rb Yoan.StAmant
#jira UE-88298

[CL 11314757 by Aris Theophanidis in Main branch]
2020-02-10 18:14:51 -05:00
aris theophanidis
84609a671d Fix static analysis warning dereferencing null pointer
[REVIEW] [at]Maxime.Mercier
#rb Maxime.Mercier
#jira UE-88298


#ROBOMERGE-SOURCE: CL 11294460 via CL 11294746 via CL 11295748 via CL 11295817
#ROBOMERGE-BOT: (v647-11244347)

[CL 11295887 by aris theophanidis in Main branch]
2020-02-07 16:30:41 -05:00
aris theophanidis
5a8f8161a6 Experimental navmesh debug tools (first pass)
Allow to display internal debug data at different navmesh generation steps for a selected tile
Ignore height filtering while displaying the navmesh around camera position
[REVIEW] [at]Mieszko.Zielinski [at]Mikko.Mononen
#rb Mikko.Mononen
#jira UE-86730


#ROBOMERGE-SOURCE: CL 11285125 via CL 11285129 via CL 11285132
#ROBOMERGE-BOT: (v647-11244347)

[CL 11285135 by aris theophanidis in Main branch]
2020-02-06 14:37:16 -05:00
aris theophanidis
d592d1f1de Fix for rare crash in findPath()
Fix result reserve count to prevent unnecessary allocations on the addition of the last item
Limit the number of loop iteration to the path node count
[at]Yoan.StAmant [at]Mieszko.Zielinski [at]Mikko.Mononen


#ROBOMERGE-SOURCE: CL 10951654 via CL 10951658 via CL 10951660
#ROBOMERGE-BOT: (v632-10940481)

[CL 10951661 by aris theophanidis in Main branch]
2020-01-13 10:33:58 -05:00
aris theophanidis
02ccfae854 Navmesh: fix rasterisation area merging when adding new spans
This fixes an issue where navmesh would be wrongly generated on steep slope (as a result, agents would try to reach unreachable locations).
[at]Mikko.Mononen
#rb Mikko.Mononen


#ROBOMERGE-SOURCE: CL 10933548 via CL 10933552 via CL 10933555
#ROBOMERGE-BOT: (v626-10872990)

[CL 10933561 by aris theophanidis in Main branch]
2020-01-09 17:19:58 -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
aris theophanidis
60a9430eba Fix navmesh rasterization issue. A wrong offset on the vertical axis caused some voxels to be rasterized outside of their source geometry.
One side effect is that NavModifier aligned wiith geometry woudl not mark the navmesh even when taking into account of the cellheight.
[at]Mieszko.Zielinski [at]Mikko.Mononen [at]Maxime.Mercier [at]Yoan.StAmant
#rb Maxime.Mercier Yoan.StAmant
#jira UE-82571


#ROBOMERGE-SOURCE: CL 10656649 via CL 10656891
#ROBOMERGE-BOT: (v609-10634694)

[CL 10656896 by aris theophanidis in Main branch]
2019-12-11 15:03:26 -05:00
aris theophanidis
59373735c5 Preventing navmesh generation under specified geometry
Addition property bRejectNavmeshUnderneath on PrimitiveComponent
The flag gets set in the FCompositeNavModifier and is read when rasterizing the geometry
When set, the triangles are rasterize as solid columns going to the min level of the solid heightfield preventing navmesh generation under them
[REVIEW] [at]Mieszko.Zielinski [at]Mikko.Mononen
#rb [at]Mikko.Mononen
#jira UE-82571


#ROBOMERGE-OWNER: aris.theophanidis
#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 10335671 via CL 10335674
#ROBOMERGE-BOT: (v594-10333955)

[CL 10353890 by aris theophanidis in Main branch]
2019-11-21 14:46:27 -05:00
stephen holmes
aca7d80716 trivial fix for CI error
#ROBOMERGE-SOURCE: CL 10303704 via CL 10303705
#ROBOMERGE-BOT: (v593-10286020)

[CL 10303708 by stephen holmes in Main branch]
2019-11-19 06:01:48 -05:00
mikko mononen
f1604d0d85 Fixed bug where navmesh polygons could connect diagonally across tile boundary.
#rb Mieszko.Zielinski Aris.Theophanidis Yoan.StAmant


#ROBOMERGE-SOURCE: CL 10092452 via CL 10092454
#ROBOMERGE-BOT: (v574-10069753)

[CL 10092455 by mikko mononen in Main branch]
2019-11-11 04:57:17 -05:00
aris theophanidis
d1e11102ca Addition of a minimum CostLimit value to FPathFindingQuery::ComputeCostLimitFromHeuristic()
Exposing the minimum CostLimit parameter in NavigationTestingActor
Renaming MaxCost to CostLimit
[at]Guillaume.Guay [at]Maxime.Mercier
#jira UE-82572


#ROBOMERGE-SOURCE: CL 10055783 via CL 10055784
#ROBOMERGE-BOT: (v565-10026848)

[CL 10055786 by aris theophanidis in Main branch]
2019-11-06 10:31:29 -05:00
aris theophanidis
e9f4047af3 Support for a max cost in the Detour pathfinders and addition of the parameter in the navigation query
DetourNavMeshQuery -> Fix issue in updateSlicedFindPath not behaving like findPath (missing check for DT_UNWALKABLE_POLY_COST)
Looking forward to merge those or to make sure that the NavigationTestingActor uses the same pathfinder to generate its path than the one use to display debug steps
[at]Mieszko.Zielinski [at]Maxime.Mercier [at]Mikko.Mononen
#jira UE-82572


#ROBOMERGE-SOURCE: CL 10015638 via CL 10015644
#ROBOMERGE-BOT: (v562-10004402)

[CL 10015651 by aris theophanidis in Main branch]
2019-11-05 10:54:41 -05:00
steve robb
14cab21e0c Deprecating ARRAY_COUNT and changing it to UE_ARRAY_COUNT.
Replicated from CL# 7924370.

#rb none


#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 9279060 via CL 9279063
#ROBOMERGE-BOT: (v443-9013191)

[CL 9279836 by steve robb in Main branch]
2019-09-28 08:19:35 -04:00
Michael Lentine
f9b3324b32 Copying //UE4/Dev-Physics to Dev-Main (//UE4/Dev-Main) @ 6903150
#rb none
#rnx

[CL 6903163 by Michael Lentine in Main branch]
2019-06-08 17:15:34 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
mieszko zielinski
bab61d726f Fixed Detour's CollectLayerRegionsMonotone and CollectLayerRegionsChunky to not fail as 'out of memory' when no regions were found #UE4
Instead, if the region count is 0 we simply return as 'success' since no issues occured. The rest of nav generaiton process is handling this result properly.
This fix is the exact same fix done to DetourTileCacheRegion.cpp in 5624049.

#rb none


#ROBOMERGE-SOURCE: CL 5645739 via CL 5645740 via CL 5645741 via CL 5645742 via CL 5646341

[CL 5648441 by mieszko zielinski in Main branch]
2019-03-29 13:41:15 -04:00
mieszko zielinski
bed79c2e3d Fixed Detour's CollectRegionsMonotone and CollectRegionsChunky to not fail as 'out of memory' when no regions were found #UE4
Instead, if the region count is 0 we simply return as 'success' since no issues occured. The rest of nav generaiton process is handling this result properly.

#rb Stephen.Holmes, Maxime.Mercier


#ROBOMERGE-SOURCE: CL 5591513 via CL 5591521 via CL 5591527 via CL 5591544 via CL 5594685

[CL 5594727 by mieszko zielinski in Main branch]
2019-03-27 12:44:33 -04:00
Chris Gagnon
80918bea22 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5110714 by Chris Gagnon in Dev-Editor branch]
2019-02-21 13:05:30 -05:00
mieszko zielinski
9727ac38bf Added special handling (including logging) when there are no walkable areas while generating recast navmesh tile #UE4
This is the case where there are some spans, but not enough to create a walkable surface.

#jira UE-69807
#rb Lukasz.Furman

#ROBOMERGE-SOURCE: CL 4967613 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 4968680 by mieszko zielinski in Main branch]
2019-02-12 09:41:28 -05:00
Brandon Schaefer
e330479d73 Symbols are now hidden by default for Linux/Mac
Add support for MODULE_VTABLE for exposing the VTable (Also optionally if enabled RTTI) info for a given type for clang (Linux/Mac)

Rename command line arg bHideSymbolsByDefault to bPublicSymbolsByDefault, as well as now add support for setting this change the BuildConfiguration.xml file

Started from Github PR #3351 though a different way to go about it

#jira UE-42635
#rb Arciel.Rekman, Steve.Robb, Ben.Marsh, Michael.Trepka
#fyi Chris.Bunner, Chris.Gagnon

[CL 4923631 by Brandon Schaefer in Dev-Editor branch]
2019-02-06 14:44:31 -05:00
Chris Gagnon
a48e767b94 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4835066 by Chris Gagnon in Dev-Editor branch]
2019-01-29 16:15:19 -05:00
Chris Gagnon
8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00
Robert Manuszewski
2752c82adc Merging //UE4/Dev-Main @ 4664414 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4675693 by Robert Manuszewski in Dev-Core branch]
2019-01-02 00:55:51 -05:00
Robert Manuszewski
1685ed0b2e Merging //UE4/Dev-Main @ 4620382 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4631078 by Robert Manuszewski in Dev-Core branch]
2018-12-04 23:30:42 -05:00