That is very bad. You have to keep ask your boss for assignment. Some group will let that person go if he can not find another assigment for one month and in some group, company will let you stay for 6 months with no assignment. Talk to your co-worker and find out what you need to do. It all depending on your group.