Download

How to move to but not into an actor

After getting the random wandering from the tutorial to work I wanted to move a character to an actor, but only seem to be able to move it into it (it hits the side and keeps walking) or set an acceptance radius manually.
When using the Move To in BT the character tries to move to the origin of the actor, so it bumps into the side and keeps on going, the acceptance radius is completely ignored.
When using a custom move BP (using Move to Location) the acceptance radius is used but I can’t figure out how to set it automatically. For example to move a character with a melee to within striking distance you might not know in advance what the size of the character nor the size of the enemy are. Calculating it from the bouding boxes of the 2 actors also didn’t get me anywhere, does anyone know how to do this?