How do i prevent External Objects/forces move an Actor?

I want to know if it is possible to make an actor not move when another object collides with it … But still being abble to move Via BluePrint with “AddForce”.

For example: I have two trucks, but “Truck A” is invulnerable to external forces, and “truck B” is just a normal truck. they both Move through Blueprint with “Add Force”. If “Truck A” and “Truck B” collide, “Truck A” will continue to travel at the same speed, but Truck B will blow of due to the collision.

Something like the Train from GTA-SA colliding with whatever is in front of it

The first thing I’d try (because it requires the simplest of setups) is a physical material (on ALL train meshes):

Image from Gyazo


Do tell if that’s enough.

In addition, you could also opt to incorporate constrains:

323215-screenshot-2020-11-27-102641.jpg

But that might not be applicable in all circumstances - depends on what kind of movement we’re dealing with. And yet another way of dealing with this, or augmenting it, is to place a collider that actively repels physical objects but yet again, it may not be applicable.

Nice little tutorial!

RIP the mangled tank in the bottom right :wink: