View Full Version : is there a way to 'relax' or make more flexible the ActorReachable function?
04-22-2011, 12:50 PM
a way to tweak the way it works... Im trying to make may pawn to follow player but at most minimal "obstacle" it prefers to use pathing (that's when ActorReachable returns false) and some times that means run exactly in the opposite directions than the player... :D
04-22-2011, 01:55 PM
MoveTo, MoveToward etc, I believe have a minimum distance when reaching a target. Set this value to perform this behavior. Optionally, you can check when to simply stop moving.
04-22-2011, 02:35 PM
I think ActorReachable basically checks to see if you can get there via walking by doing a line check from the nearest path point to that actor .. so, not really. if you want a more robust actorreachable you'll probably want to write one yourself.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.