When adding the set velocity action in the state, the error above occurs, stating that it requires rigid body component. Since I have already added the rigid body component to the player, as shown in the figure above. I started using the playmaker this week and I caught on in that first part of making the character walk for that reason.