How do I make it so that while translating it doesn't ignore collision and rigidbodys?

I am making a game that HAS to use translating instead of impulses, is there a way to make it still stop at the ground and trees?

Hi @Codeknight999!

You can use a collision event or a raycast to detect obstacles.

For the enemy AI of my example project I use a couple of raycasts to avoid obstacles and for the player I use a more simple method to just stop the movement.

You can start with doing a raycast to an empty child entity in front of your character and only allow movement when this raycast has no hit result.

Ok, how would I do that?