In this paper, we present a method that generates a path that has no collision with the obstacles by using the environment information, and automatically creates natural motions of characters that are confined to the path. Our Method is based on two kinds of parameters: Environment and Behavior parameters. The behavior parameters include velocity, motion status such as walking and running, and preference. The environment parameters include road and obstacles. A collision-free path is generated by these parameters, and a motion mining system generates the motion that has motion status and velocity that a user inputted while following a path. Our system predicts and avoids a collision by rulebased approach. Key words: motion-generation, path-generation, motion parameter, motion mining, collision avoidance