- Home /
TornadoTwins Tutorial
Hi. I'm trying to complete the Tornado Twins worm game tutorial, but I keep getting stuck on the scripts. I enter exactly what they tell me to but I keep getting compile errors. I need the scripts for the worm and the turret. Can someone help????
We need more information, give examples of the errors you're getting so we can deter$$anonymous$$e the cause of your problems, so far it just seems like you've not linked up the scripts correctly to the objects.
But I recommend giving some errors, it is really un-descriptive and has an even lower chance of being answered.
Next time be a lot more descriptive, I have no clue what your error is.
Post the part of the script you are stuck on, which line the error is in and what it says. Edit your post, do not post the script in another answer. Peace,
When I script to the turret and play the game, the turret shoots but the fireballs immediately fall to the ground. I managed to fix the other parts, though. $$anonymous$$y worm works fine, but the fireballs that it shoots go right through solid objects.
Answer by Southpaw_decoy · Jan 23, 2012 at 02:41 AM
I went through most of their tutorials and a few of them have scripting problems some of which they mention in the next tutorial or are mentioned in comments on the youtube video. You will have to copy and paste actual code here before we can tell whats not working.
If you are going by their script its the code:
bullit.rigidbody.AddForce(transform.forward * 200);
the first part "bullit" should be the name of the variable from the previous line that instantiates the cannonball prefab.