Respected sir,nThank you for your help.I had solved my problem now it is working fine.I have problem in motion of object .I want vertical motion of object .So I changed UDF but it is not working .Still its motion is in horizontal direction. I nhad done changes which mentioned above.nnPlease help me outn