So I'm basically writing an application that requires a capsule to point towards the bottom of another object. My problem is that if I use "LookAt" then the capsule points 90 degrees away from it because the capsule isn't pointing in the correct direction initially. Is there any way to change this?
My code is the following:
Thanks in advance
asked Aug 02 '10 at 07:02 PM
create a empty gameObject and make the capsule a child of the empty.
then rotate the capsule 90 degrees. and remove the script from the capsule and add it to the empty
answered Aug 02 '10 at 07:08 PM