Description

This is a regression tested in //UE4/Release-4.27 cl18319896

Child collision component reports its' Parent during On Hit events instead of itself. 

Steps to Reproduce
  1. Create or open any project
  2. Create a Blueprint Actor
    1. Add a Capsule Collision component 
      1. Enable Simulate Physics
      2. Set Collision to 'Block All'
      3. Enable Simulation Generate Hit Events
      4. Create an On Component Hit event connected to a Print String Node
      5. Add a Format Text node in the format type "OnComponentHit - Capsule! Hitting: {Component}"
      6. Connect the Other Component out pin from the On Hit Event to the Format Text node
      7. Connect the Results to the Print String node
    2. Add a Box Collision component as a Child of the Capsule Component
      1. Set Scale to 2.0, 2.0, 2.0 so that it completely surrounds the Capsule
      2. Set Collision to 'Block All'
      3. Enable Simulation Generate Hit Events
      4. Create an On Component Hit event connected to a Print String Node
      5. Add a Format Text node in the format type "OnComponentHit - Box! Hitting: {Component}"
      6. Connect the Other Component out pin from the On Hit Event to the Format Text node
      7. Connect the Results to the Print String node
    3. Compile, Save, and close the Blueprint
  3. Place the actor into the level above the floor
  4. Play in Editor
  5. Observe the Actor hitting the floor

Expected Results:
The Box Collision reports hitting the floor

 

Actual Results:
The Box Component hits the floor, but the Capsule Component reports instead.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-163553 in the post.

2
Login to Vote

Fixed
ComponentUE - Simulation - Physics - Solver
Affects Versions5.0.3
Target Fix5.1
Fix Commit22048259
Main Commit22052198
Release Commit22048259
CreatedSep 12, 2022
ResolvedSep 16, 2022
UpdatedSep 19, 2022
View Jira Issue