Greetings! I have an object with a bone named... "bonex". I would like to spawn an object on BoneX and parent it to the transform. I know how to do all the steps except how to get the actual named bone from the GameObject. I tried using Transform.Find but that returns an empty transform.
It indeed looks like you're doing something wrong. Assuming X is a number "Transform.Find("bone" + x)" should work fine.
Do make sure your string in the find function exactly matches the name of your object. A single wrong capital letter and the function will not find your object. As you spelled "bonex" as well as "BoneX" in your question I suggest you check your capital letters.
answered Nov 10 '10 at 02:24 PM