Added: 2 years ago
From: TornadoTwins
Views: 484,564
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (2,792)

Sign In or Sign Up now to post a comment!
  • how do you get first person on the new update

  • Are there pre-loaded 3D worlds and models I can import to use in my projects?

  • @Pvsmuntje yes , you can import files from maya , blender , 3d studio max and another lots of programs , watch all videos of tutorial to know more about it .

  • var speed = 3.0; var rotateSpeed = 3.0; function Update () { var controller : CharacterController = GetComponent(CharacterControll­er); // Rotate around y - axis transform.Rotate(0, Input.GetAxis ("Horizontal") * rotateSpeed, 0); // Move forward / backward var forward = transform.TransformDirection(V­ector3.forward); var curSpeed = speed * Input.GetAxis ("Vertical"); controller.SimpleMove(forward * curSpeed); }
  • where do i get the first person controller prefab?

  • Good tut, cheers

  • How to I make the wire-frame at the bottom appear? Everything is a single shade of grey without the outline of the floor.

  • pastebin . com /giLr7zSJ

    There's the full script from Moving to Shooting (:

    credits to me, please thumbs up so everyone can see.

  • help me please i typed the entire code over put it on the sphere and it says fix all compile errors before entering play mode I did not type antything wrong PLEASE HELPPP

  • @gamepowners88 ya i have the same problem

  • Comment removed

  • that is the script that doesnt work below

  • var speed = 3.0;

    var rotateSpeed = 3.0;

    function Update ()

    { var controller : CharacterController = GetComponent(CharacterControll­er); // Rotate around y - axis transform.Rotate(0, Input.GetAxis ("Horizontal") * rotateSpeed, 0); //Move forward / backward var forward = transform.TransformDirection(V­ector3.forward); var curSpeed = speed * Input.GetAxis ("Vertical"); controller.SimpleMove(forward * curSpeed);

    }

    @script RequireComponent(CharacterCont­roller)

  • notwork

    var speed = 3.0;

    var rotateSpeed = 3.0;

    function Update ()

    { var controller : CharacterController = GetComponent(CharacterControll­er); // Rotate around y - axis transform.Rotate(0, Input.GetAxis ("Horizontal") * rotateSpeed, 0); //Move forward / backward var forward = transform.TransformDirection(V­ector3.forward); var curSpeed = speed * Input.GetAxis ("Vertical"); controller.SimpleMove(forward * curSpeed);

    }

    @script RequireComponent(CharacterCont­roller)

  • THANK YOU SO MUCH IVE BEEN LOOKING FOR THIS FOR LIKE DAYS

  • enough annotions

  • the script doesnt work on mine. how do you get the script anyway

  • DAMN it my sphere is rotating in circles

  • Comment removed

  • hey men dou have the script for c# ???

  • need help @ im using UNITY 3D 3.4.0 and i dont have the option "first person controller" under prefab.what shall i do? any one can help me?

  • var speed : float = 3.0;

    var rotateSpeed : float = 3.0;

    function Update ()

    { var controller : CharacterController = GetComponent(CharacterControll­er); //Rotate around y - axis transform.Rotate(0, Input.GetAxis ("Horizontal") * rotateSpeed, 0); //Move forward / backwards var forward : Vector3 = transform.TransformDirection(V­ector3.forward); var curSpeed : float = speed * Input.GetAxis ("Vertical"); controller.SimpleMove(forward * curSpeed);

    }

  • i <3 you guys!

  • did you add a physical property to it?

  • My sphere wont move around. I added the script to it but it wont work. It doesn't even fall down.

  • How to get island demo:

    Step 1: go to Unity3d website

    Step 2: Click gallery

    Step 3: Click demos

    Step 4: Click the tropic paradise demo

    Step 5: click download project.

  • @LabEntZ doesn't work though (atleast by me)

  • learn some programming lol

    a and this is pie

  • Hey how come i dont get a grid like u do?

  • Hi. I entered the exact script that was on the video, but there were a bunch of compile errors. How can I fix this?

  • :((( Error

  • Theres no smoothfollow

  • if you look at the code he shows in the tutorial, copy that, but replace (*Vertical*) with ("Vertical"). VERY IMPORTANT!!!!!!!!!!!!

  • I downloaded unity but it didnt come with the island demo or any other demo. is it only for the Pro Version?

  • yes ay hawe som angrybots

  • WHY ARENT YOU ANSERING ANY OF OUR QUESTIONS.......(-.-t)

  • /*MoveAround.js*/ var speed = 3.0; var rotateSpeed = 3.0; function Update () {  var controller : CharacterController = GetComponent(CharacterControll­er); transform.Rotate(0, Input.GetAxis ("Horizontal") * rotateSpeed, 0); var forward = transform.TransformDirection(V­ector3.forward); var curSpeed = speed * Input.GetAxis ("Vertical"); controller.SimpleMove(forward * curSpeed); } @script RequireComponent(CharacterCont­roller)

  • i keep trying to test it, but it says: All Compiler Errors have to be fixed before you can enter playmode. HALP?

  • It wont let me put the code in

  • there is no fucking island!!!!!!!!!!!!!!!!!!!

    

  • @Unertragbar

    exactly!!!!!

  • I can't get the moving script to work. PLEASE HELP!

  • but i cant drag and drop anything on the left hand side screen by what i can see the FPS view...i downloaded the Unity 3D 3.4.0 from torrent. can u download the same and test it and then plz make a tutorial on that? i am looking forword.please help.sorry for bad english.

  • Comment removed

  • i went to the website to get the codeing and couldnt find it

  • I am so mad. I don't have the freaking smoothfollow script. I'm looking for another tutorial!

  • SOMEBODY POST THE SMOOTHFOLLOW SCRIPT PLEASE!

  • @awojtila1996

    You can get the island demo here. unity3d.com/support/resources/­example-projects/islanddemo

  • yeap, but if you are running unity 5.3 you won't be able to run the example.

    it so frustrating. !!

  • my character can't go on top of objects. Not even small slants from the ground. What should I do? Oh and whats the script to smooth follow? I didn't get it with the program.

  • can somebody post the actual smoothFollow script so i can copy it? when i started unity there was no island demo.

  • man i dont have that "first person controller prefab" ... what shall i do? i am using unity 3d 3.4.0. please help me.

  • @mrutsavdey You don't need it he was just using it as a demo.

  • unity wont let me rotate some objects it will rotate but as soon as i reopen unity or play the game the objects go back to a vertical position and unity when ever i rotate a cube it makes it shaped funny its hard to describe but it distorts it and makes it into a parrallelogram

  • omfg im so fucking pissed everything i do in unity is followed by nothing but errors ive watched all these vids ive researched every single error ive had with the game and scripting FOR DAYS but it seems that im always the only one in the fucking world with these problems. first off ive tryed this script and TONS of others like it in the comments and every where else but most of them are just stupid or always get a unexpected char for no reason and unity wont allow me to rotate some objects

  • i dont got the smoothfollow script how do i make one?

  • @IdontWannaKnowY I don't either. :(

  • For first person controlling is there any way to shut off the mouse rotating so that every time you move (turn left, right) it will rotate with it?

  • Comment removed

  • How come I cant edit the Javascript

  • @Ryamura MY TO! >:|

  • brilliant.. thank you :)

  • So how do make it for PS3 / Xbox / Wii

  • omg i love you guys you just boosted my dream into a reality

    GOd bless you guys

  • the page with the code is down

  • @noesabie

    var speed = 3.0;

    var rotateSpeed = 3.0;

    function Update ()

    { var controller : CharacterController = GetComponent(CharacterControll­er); // Rotate around y - axis transform.Rotate(0, Input.GetAxis ("Horizontal") * rotateSpeed, 0); // Move forward / backward var forward = transform.TransformDirection(V­ector3.forward); var curSpeed = speed * Input.GetAxis ("Vertial"); controller.SimpleMove(forward * curSpeed);

    }

    @script RequireComponent(CharacterCont­roller)

  • thanks

    

  • i dident get the island i got some kind of space thing help?

  • @RabbitsFTW they updated it, dont worry

  • @RabbitsFTW you can download the island example project from the unity website if you want anyway :D which includes the smooth follow script etc. so i downloaded it just for that :P

  • Assets/Editor/CopyMoodBox.cs(7­,12): error CS0246: The type or namespace name `MoodBoxData' could not be found. Are you missing a using directive or an assembly reference?

     this eerror is comming that to do plzzzzxzz tell me

  • how to add grid to the game can someone tell me

  • public var MoveSpeed: float = 15;

    public var MoveLSpeed : float = 5;

    function Update () { var MoveFWD : float = Input.GetAxis("Vertical")* Time.deltaTime * MoveSpeed ; var MoveLeft : float = Input.GetAxis("Horizontal")* Time.deltaTime * MoveLSpeed; var MoveDown : float = Time.deltaTime * -10; // applys a small vert velocity var controller = GetComponent(CharacterControll­er); controller.Move(Vector3(MoveLe­ft, MoveDown, MoveFWD));

    }

    @script RequireComponent (CharacterController)

  • @slashfolife is this the correct script to use for this

  • tornadotwins i made the script for moving around and applied it to the object i wana move but when i run the game it wont move.

  • @TheNewbmoviemaker You typed something in wrong, Due to a fault or missing thing you typed, you will not be able to run the script o.O

  • @MrGamecrazy3232 could you help out?

  • um what does it mean when it says compiler error???

  • @th3poss33patrol The code didn't compile, obviously. Make sure there are no typos.

  • can someone tell me the move around script? i can't find it?

  • Awesome tutorials

  • so uhh.. i am not gonna pay money for some.. script..

  • uhmm.. i don't have a grid bottom. its just grey. help?

  • @sk8erBilly1232 i had this problem, next to game the should be a tab called 'scene' click that and it's that, if you dont have that tab, right click it and add the 'scene' tab. Hope that helps you :)

  • @ryman297 aww thanks bro! and i have one more problem. i need the script.... move around script(: lol. help?

  • Comment removed

  • @sk8erBilly1232

    i can't fit it on here so..

    (delete the spaces)

    h t t p: // pastebin . c o m/ Fd1Sp2fp

    don't worry it's a safe website

  • Why isn't there a "Edit" button ??????????

    Why can't found the code can you please copy and past it in description....thanks :)

    What if i want the first person to be a human?????

    Please respond i really need the answers...

  • Smoothfollow script:

    unity3d.com/support/documentat­ion/ScriptReference/Mathf.Smoo­thDampAngle.html

  • i dont have the prefab thing. so how am i supposed to play now?!

  • if you want it to have a first player and you want it to be a human how to you do that

  • hi sorry i just had a small problem when i insert the cube it only shows a cube not the whole floor ?

    Any and all help is appreciated :)

  • When i do the PointLight i don't see eny lght PLEASE HELP ME!!!

  • omg the link does'nt even work.

  • i cant move left and right HELP!!!!

  • ***HOW CAN I GET THE ISLAND MAP THING? IT DOWNLOADED AN UPDATED VERSION OF UNITY 3D AND ITS A DIFFERENT MAP, ITS FUTUREISTIC*** Help? (its only cap to get your attention)

  • @DRAGONIRONFIST You don't need to have the script if that is why you need it, you can just rewrite that from looking at the video. If you actually want the map, the link is unity3d.com/support/resources/­example-projects/islanddemo

  • @xTheSkace im sorry, but im new at this, and im making a game map for a contest lol, i need the assetc of the island like he says in the video, how can i get the assests of the island?

  • @DRAGONIRONFIST they are in the island demo download folder.

  • Look, I got SO EXCITED that i could make a game but, When I try to edit the script THERE IS NO EDIT BUTTON! and this is the ONLY reason why i CANT make this game! PLEASE REPLY!!!!

  • @officiallipsey Also My Cube Is invisible, It will not appear if i click off the screen its just an outline.

  • @officiallipsey Have you added a point light? If yes, tap on your cube and look at the inspector panel. Look at mesh renderer and make sure that the material is set to default. To change this, tap the circle shape next to the material (default is called default-diffuse material) and search for any material resembling a default material (grey in point light)

  • @officiallipsey oops osrry, I think you need to look at the Sphere Collider (add physics)

  • @officiallipsey If that doesn't work, look under the name(default to cube) in the Inspector panel and make sure that the Layer is set to default, not Transparent.

  • @officiallipsey Hey. To edit the script, just double tap the script in your Project panel. This should open up another window where you can type in the window, thus editing it.

  • @xTheSkace Well The JavaScript Just opens up another application and then it disappears. I cant edit it because there is no edit button and double tapping doesnt work.

  • @officiallipsey hmm.. no idea why. Does it open up a window but you can't open it? Does it do nothing at all? Try to search for it ( MonoDevelop ) and try opening it through there and if that doesn't work try reinstalling unity and if you've done that install an older version of unity..

  • @xTheSkace I think I got it to work so nevermind

  • google this and click on the first link

    unity3d script for moving around

  • I guess I'm late for this tutorial but the smooth follow doesn't exist. I get another project. Plus I'm doing a new one. Can I get the js code for the smooth follow or some resources I can read so I would be able to create my own.

  • @xHybridSoul unity3d.com/support/resources/­example-projects/islanddemo should be in the project once you dl it.

  • when i go on the screen is blue plz help

  • why cant i enter play mod when i press play it says all compiler errors must be fixed to enter playmode all i did was put the floor down like you did and press play

  • um when i put the thing in why does an error message appear saying "Then name Character Controller does not denote a valid type('not-found') can someone please help

  • i can't find the move script on your site and the script of saintcharlezful wand work.

    can someone give me the working script please.

    (tornadotwins can you make a search on your website)

    

  • hello , im new with this and im trying to learn how to make a game but the part of the first person controler i dont have it :( its supposed to be in the proyects tab but isnt there :( can someone help me pls

  • right?

    var speed = 3.0;

    var rotateSpeed = 3.0;

    function update()

    { var controller : CharacterController = GetComponent(CharacterControll­­er); // Rotate around y - axis transform.Rotate(0, Input.GetAxis ("Horizontal") * rotateSpeed, 0); // Move forward / backward var forward = transform.TransformDirection(V­ector3.forward); var curSpeed = speed * Input.GetAxis ("Vertical"); controller.SimpleMove(foward * curSpeed);

    }

    @script RequireComponent(CharacterCont­roller)

  • Help!!! I have copied the whole script down again because I had to start the tutorial over, but with the new unity there is no CharacterController prefab, is there any substitute?

  • @spike117117 I fixed this but now im stuck on the 15th line. It says Controller.SimpleMove but i get the compiler issue Uknown Identifier 'Controller'. Thanks for any help, sorry about my last post :)

  • @spike117117 you don't need the CharaterController prefab in this project as it is for FPS games. However, if you need it the link is here unity3d.com/support/resources/­example-projects/islanddemo

  • @xTheSkace Thanks:)

  • My version doesnt have smooth follow in the search, can someone please for the love of god put the script up!

  • when you have your scripts written how does it get into your project????\

  • Instead of First Person Controller Prefab could it be PlayerPrefab

  • Does unity doesn't have the grid anymore? I create a new scene but there's no grid and it's really bothersome.

  • @dragonliger XP got it working. by clicking the "picture-like" button. I think almost all novices will find it useful.

  • Comment removed

  • Could you please give me the script for the SmoothFollow script in the video.

  • It only comes up with SmoothFollow2D for me. Please help.

  • Can you use source engine on this? im more use to source XD

  • I got the Angry bots thing can you help me with that because i cant figure it out i got the person to shoot but he cant move

  • i cant figure out the script, it keeps telling that all errors have to be fixed before i can enter playmode

  • i need the script because i always getting an error

  • Doesn't move, the script is correct. Someone help? This is frustrating :/

  • did you make the game wolfteam

  • i look for the fristperson perfab but i cant see it or maybe dont have it

  • how to zoom in and out of camera because i have accidentally clicked new project and its all zoomed in

  • I can't find the smooth follow script please help me

  • Seth Green? is that you?

  • C# is a peace of s**t! Nobody knows how to use that. I can't understand his errors when i want to do something.

  • Comment removed

  • Comment removed

  • I cant get the script to work have been trying in a load of diffrent ways, but i get these 3 messages: Assets/MoveAround.js(1,16): UCE0001: ';' expected. Insert a semicolon at the end.

    Assets/MoveAround.js(1,16): BCE0043: Unexpected token: ;.

    Assets/MoveAround.js(5,9): BCE0044: unexpected char: 0xFEFF.

    anyone knows what i can do?

  • when i paste it to sphere it told me to wait for compilation

  • Foreign Seth Green? Is that you?....

  • I got a problem

    I've set up new project With all the Standard assets (assigned charactercontroller to the sphere)

    wrote down the movearound script.

    but it doesn't actually move when I test it out..

    what do I do?

    note that I started new project as my Unity 3d is newer version so it doesn't include Islanddemo (I even downloaded island demo but it didn't work)

  • Comment removed

  • what you have to buy stuff to make a video game thats stupit it should already have what you need to make a video game

  • Great.. When I paste the code I get this error:

    "Assets/move.js(7,19): BCE0018: The name 'charactercontroller' does not denote a valid type ('not found'). Did you mean 'UnityEngine.CharacterJoint'?"

  • Comment removed

  • i don't have smooth fallow

  • var speed = 3.0;

    var rotateSpeed = 3.0;

    function update()

    { var controller : CharacterController = GetComponent(CharacterControll­er);

    //rotate around 7 - axis

    transform.rotate(0, Input.GetAxis ("Horizontal") * rotateSpeed, 0);

    //move forward / backward

    var forward = transform.TransformDirection(V­ector3.Forward);

    var curSpeed = speed * Input.GetAxis ("vertical"); controller.SimpleMove(forward * curSpeed); }

    @script RequireComponent(CharacterCont­roller)

  • I have a little problem, I assume its a difference in unity 3.4. The sphere is just rotating around the Y axis, no moving forward or backward. How can I fix it?

  • var speed = 3.0;|

    var rotateSpeed = 3.0;

    function update()

    { var controller : CharacterController = getComponent(CharacterControll­er); //rotate around 7 - axis transfrom.rotate(0, input.GetAxis (¨Horizontal¨) * rotateSpeed, 0); //move forward / backward var forward = Transform.TransformDirection(V­ector3.Forward); var curSpeed = speed * Input.GetAxis (¨vertical¨); controller.SimpleMove(forward * curSpeed); } @script RequireComponent(CharacterCont­roller)

  • @OfficialAikklo y - axis not 7

  • @OfficialAikklo i copied this - nothing then i rewrited myself from video and its working.

    i dont know why, maybe youtube copy paste sucks but here it is h t t p : / / pastebin. c o m / Fd1Sp2fp :D

  • i tried to download on windows 7 but it told me after it finished to run in administrator mode!!!!!

    there isnt even an icon!!!!!!?????

  • were is the project

    

  • wow I have no idea where to find that movearound script on their website please help

  • Cant find That Prehab...

  • All compiler errors have to be fixed before you can enter playmode!

    UnityEditor.SceneView:ShowComp­ileErrorNotification() ?

  • @hasse951 I had the same problem.. Import the character controller asset!

  • sphere doesn't move horizontal!!!!

    var speed = 3.0;

    var rotateSpeed = 3.0;

    function Update ()

    {var controller : CharacterController = GetComponent(CharacterControll­er);

    //Rotate around y - axis transform.Rotate(0, Input.GetAxis ("Horizontal") * rotateSpeed, 0);

    // Move forward / backward var forward = transform.TransformDirection(V­ector3.forward);

    var curSpeed = speed * Input.GetAxis ("Vertical");

    controller.SimpleMove(forward * curSpeed); }

    @script RequireComponent(CharacterCont­roller)

  • plss some one help on my above problem!

  • hey how can i move view in unity?

    

  • this is not working. help

    var speed = 3.0;

    var rotatespeed = 3.0;

    function Update ()

    { var controller : CharacterController = GetComponemt(CharacterControll­er); // Rotate around y - axis transform.Rotate(0, Input.GetAxis ("Horizontal") * rotateSpeed, 0); // Move forward / backward var forward = transform.TransformDirection(V­ecor3.forward); var curSpeed = speed * Input.GetAxis ("Virtical"); controller.SimpleMove(forward * curspeed);

    }

    @script RequireComponent(CharacterCont­roller)

  • @brickamator Sir, You forgot the T in Vector

    var forward = transform.TransformDirection(V­­ector3.forward);

  • can you please put all scripd for vids in the discriptions? thanks.

    ;p

  • this is geting on my nerves i dont have edit

  • Ive put the script there,applied it to an object but i cant get it to move or fall,the character controller is assigned...