I have a (3d) game where the enemy charges at the player, but the player can quickly avoid the enemy and just let them fall off the platform they're on. I want the enemies to avoid edges, but I'm not sure how I should start. I'm using rigidbody.AddForce for the enemy movement so I can't just program them to stop since they keep on rolling. Thanks. Oct 27, 2017. 683. Jul 23, 2020. #1,404. Long time no post, Indie Game Dev Era. Lately I have been lazily prodding at a terrible thing. This was originally envisioned as an April Fools joke of sort, inspired by the legit Digital Foundry Bubsy documentary from last year.