- Home /
Moving an other gameobject
Hi guys, I just started with game development a couple of days ago so please go easy on me since I barely have any skills. So I am following the TornadoTwins' tutorials and I'm on lesson 18.I have made my own worm out of 3 different sized spheres but now I have gotten the 3D model for much "cooler" worm and it consists of : Wormhead,tail and body.
So my question is: what would be the best way of transferring the properties of my self made worm (which could walk,shoot fireballs etc) to the new and cooler worm?
Thanks in advance!
Answer by DESTRUKTORR · Jul 31, 2012 at 04:13 PM
Take the script you used on the first one and attach it to the new model, or replace the old model with the new one, in your prefab and/or game object. If there were animations, you'll have to re-make them.
Answer by Athymy · Jul 31, 2012 at 05:16 PM
Thanks for the answer but I can't get it to work... I attached my "moveAround" script to the 2nd worm and put character controller on it but when I hit play the camera doesn't follow it (even after i attached "smooth follow").
Your answer
Follow this Question
Related Questions
Limit Diagonal Speed 2 Answers
DastardlyBanana(moving while jumping. 2 Answers
Rigidbody on a platform 2 Answers
Spawning objects from moving objects, In C# 1 Answer
how to make a moving object 2 Answers