Description

Reported on UDN:

Something in the setup of the City Sample vehicles means that if a vehicle starts inside a  Box Collider Component then it won't generate an EndOverlap when exiting. Vehicles in general seem to work ok i.e. the Vehicle Template works ok, it is only City Sample vehicles this is happening with.

If a City Sample vehicle starts outside the box collider then you will see the BeginOverlap and EndOverlap Event firing as expected. The issue is only when the vehicle starts inside.

Note: A workaround exists, if a static mesh box is attached to the vehicle then this will interact as a proxy and interact with the trigger ok. 

Steps to Reproduce

Project CitySample, the VehicleTestLevel is the easiest to use.

Create a Trigger BP (parent Actor)

Add a BoxCollider as RootComponent and set the Extents

Add BP Nodes to log interations:

  • Tick -> Get overlapped actors or components -> foreach -> print string
  • OnComponentBeginOverlap -> print string
  • OnComponentEndOverlap -> print string

Place Trigger BP in Level

Place Vehicle in inside the trigger.

PIE and Drive the vehicle outside of the trigger.

No End Overlap event occurs.

Expect: an end overlap event.

 

Have Comments or More Details?

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

1
Login to Vote

Unresolved
ComponentUE - Simulation - Physics
Target Fix5.5
CreatedApr 23, 2024
UpdatedApr 25, 2024
View Jira Issue