Description

Changing a public variable which is setup in the construction script of an actor to set the actor's collision response type does not change the actor's collision response type.
The response type remains set to the response type that was set when the actor was first dragged into the level.

I expected this functionality to work like setting the color of a point light component the the construction script. If we have a public variable for the light color that is hooked up to the Set Light Color blueprint node in the construction script then drag the actor into the level and change the public variable in the actor's details panel, we can set the light color.

This issue also happens when the variable is not public. Changing the variable after dragging the acter into the level then recompiling the actor blueprint and moving the actor in the level doesn't update the actor's collision response type.

Steps to Reproduce
  1. Open any project into UE4Editor
  2. Create and open a new Actor blueprint
  3. Add a sphere collision component to the Actor blueprint
  4. Drag the sphere component into the Construction Script
  5. Add a Set Collision Response to All Channels node to the construction script and hook up the Sphere reference node
  6. Promote the New Response input pin to a new variable
  7. Make the new variable public
  8. Drag the Actor blueprint into the level
  9. Set the new variable = Block in the details panel for the actor blueprint in the level
  10. Play in Editor
  11. Walk into the actor blueprint

RESULT:
The player walks through the actor blueprint

EXPECTED:
The player movement is blocked by the sphere collision component

Have Comments or More Details?

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

2
Login to Vote

Won't Fix
ComponentUE - Simulation - Physics
Affects Versions4.25.3
CreatedAug 27, 2020
ResolvedJul 19, 2022
UpdatedJul 19, 2022
View Jira Issue