Interactive Path Planning and real-time Motion Synthesis for articulated humanoid Characters in Virtual Environments