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.
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:
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.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-213075 in the post.
1 |
Component | UE - Simulation - Physics |
---|---|
Target Fix | 5.5 |
Created | Apr 23, 2024 |
---|---|
Updated | Apr 25, 2024 |