I'm following the tutorial by TornadoTwins and am up to the part where you spin when you are hit. It doesn't work and I think it is to do with the fact that the "Space.World" in the script doesn't highlight:
transform.Rotate(0,tumbleSpeed*Time.deltaTime,0, Space.World); //World Doesn't highlight\ tumbleSpeed = tumbleSpeed-decreaseTime; decreaseTime += decayTime;
what is wrong?
Space.World and Space.Self do work, and nothing is wrong with that code in particular. Whether something happens to highlight or not in whatever editor you're using is irrelevant.
answered Aug 28 '10 at 08:03 PM