Description

bReturnFaceIndex is not being used in ConvertQueryImpactHit when calling PrimitiveComponent LineTraceComponent.

User quote:

When calling PrimitiveComponent LineTraceComponent with FCollisionQueryParameters that enable bReturnFaceIndex it never actually return anything. If using similar lineTrace that trace against whole UWorld it does work.

Steps to Reproduce
  1. Open the UE4.sln
  2. Navigation to BodyInstance.cpp
  3. CTRL+F search for ConvertQueryImpactHit

Result: Notice that the 2nd to last parameter being passed in is just set to false, which is what determines if Face Index is returned or not.

Expected: The parameter would be bReturnFaceIndex to reflect whether or not you've set the variable to true in the Query Parameters being used.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.124.13
Target Fix4.14
Fix Commit3150019
Main Commit3153517
CreatedOct 3, 2016
ResolvedOct 4, 2016
UpdatedApr 27, 2018
View Jira Issue