When trying to stop animated objects through trigger box.It is not working
What exactly are you trying to do? To block actors from passing through?
,I had used spline for linear movement…but trigger box is not working for it .I had kept collision also.But objects are passingover it.can u please suggest any solution.
Make sure that:
- the collision component of your “moving object” is the root component
- bSweep is check in “setactorlocationandrotation” or “setactorrotation”.
- the trigger box is set to “block all”
For example, in this example, the moving object has a simple static mesh component, as it’s set as the root component: