Unity State Machine
Here's a state machine I created that cycles between walk and idle animations.
Directions is randomly seeded in a C# script, and changes direction when a collision is detected on the rigid body.
Here's a state machine I created that cycles between walk and idle animations.
Directions is randomly seeded in a C# script, and changes direction when a collision is detected on the rigid body.