I have a BP with a bunch of child actor components. One of the child actor components points to another BP which is a door. When the door BP is spawned directly in the world, the collision works - the character can not move through the door.
This only happens when I scale the actor using either the SetWorldScale3D
or SetRelativeScale3D
on the actor component in the construction script. If I set the scale of the actor component in the component view, it has no effect on the actor.
However, when I spawn my composite BP (with the ChildActorComponent) the collision does not work - the character can walk through the door.
If I get the editor to show collisions, the collision mesh is still correct and visible.
The door BP has its static mesh collision set to Block All.
Interestingly, the other child actors, which use per pixel collision, do still stop the player.
Update:
This probably isn’t a bug… a different child actor which doesn’t appear to use per pixel collision seems to work… Trying to identify what is different.
Update 2:
If I don’t scale the actor the collision works…