Developer Notes

This would involve a complicated fix, and developer efforts are currently focused elsewhere.

Description

When attempting to spawn a pawn (with collision set to overlap) inside a blocking volume (with collision set to block), the pawn will actually spawn at the closest available point outside of the blocking volume. Overlap should take precedence over block in collision settings for different objects.

Steps to Reproduce
  1. Create new Basic Code C++ project.
  2. Build the project in Visual Studio.
  3. Open the project in the Editor.
  4. Create a new GameMode Blueprint.
  5. Set the GameMode Blueprint created in the previous step as the GameMode to be used by the project.
  6. Create a new Character Blueprint.
  7. In the Character Blueprint, set the collision for the capsule component to overlap everything except for Vehicle, which is set to block.
  8. Have the GameMode use the new Character Blueprint.
  9. Set the collision for the floor in the level to be of type Vehicle.
    • This is done simply to prevent the character from falling through the floor.
  10. Add a Blocking Volume to the level and position it so that it completely covers the player start in the level.
  11. Set the Blocking Volume's collision to ignore everything except for Pawn, which is set to block.
  12. Start PIE.

RESULT:
The character spawns just outside of the blocking volume.

EXPECTED:
The character spawns at the player start location, inside the blocking volume.

Have Comments or More Details?

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

0
Login to Vote

Won't Fix
ComponentUE - Gameplay
Affects Versions4.8.34.94.10
CreatedSep 10, 2015
ResolvedSep 11, 2015
UpdatedJul 14, 2021