Destroyed crate pieces

Really enjoying the tutorial, great job. Had a question about the destroyed crate parts. Is it possible to give them physics so as the player moved through them he would brush them aside but not have them affect pathfinding at all?

1 Like

They already have physics on them so if you just add a solid collider to the player it should work.

Although the player movement is handled by moving the Transform directly so it might glitch a bit, if you really want to add that consider refactoring the movement to work with rigidbody.velocity instead

3 Likes

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms