MouseLook does not appear in drop down; I’m stuck
Posted: 07 October 2017 02:42 PM   [ Ignore ]  
Avatar
Total Posts:  2
Joined  2017-10-06

In Unity Game Development Part 9, the step that requires you to add the MouseLook component does not work, the component is not found.  I found the script in the First Person Character scripts folder, but it won’t let me load it.  I’m using Unity 2017.1.Of3 Personal 64bit

Profile
 
 
Posted: 07 October 2017 05:40 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
Total Posts:  4642
Joined  2011-03-03

Hi debcat59,

I re-watched the part 9, but there is no mentioning of a mouse look. (Part 09: Adding Sounds to Assets). Do you have this question about part 10?

Please use the help button, if there is a question with a tutorial. This is the way to go to keep things organized and other people can find it.
Screenshot:
https://www.amazon.com/clouddrive/share/zN4GzG97n54zUwoOgTtB4YD6kksFHU7HBzgEE2AFICN

Tutorial Discussion
This forum is for discussion about SPECIFIC tutorials. Don’t post here directly - posts should be created using the “Help with this Tutorial” button on tutorial pages.

Would you mind checking in which tutorial it was and use the suggested way? Thank you.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.

Photography For C4D Artists: 200 Free Tutorials: Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile
 
 
Posted: 07 October 2017 06:18 PM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
Total Posts:  4642
Joined  2011-03-03

I’m not very savvy with Unity. But perhaps try the following.

Locate the script “mouselook.cs” in the Assets (provided with the tutorial), I guess that is the same you found already, and follow the steps in the clip below.

Screen-capture:
https://www.amazon.com/clouddrive/share/ia0EwHWG5cQv5AvSOal5U1N5mFXPXowwEFtpBNV2Q7n

I have used the Camera here, but please use the object Rick suggests in his tutorial!

I hope that helps.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.

Photography For C4D Artists: 200 Free Tutorials: Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile
 
 
Posted: 09 October 2017 10:15 AM   [ Ignore ]   [ # 3 ]  
Avatar
Total Posts:  2
Joined  2017-10-06

Hello,

You’re correct, I meant episode 10.  I do have the mouselook script in my assets.  Even so, it’s not found in the search using “Add Component”.  If I try to drag it to the object, I get this error message: “Can’t add script; please fix compile errors before creating new script components”.

Since I’m new to unity, I’m not sure where to go from here. I double-clicked on MouseLook.cs and it opened up MonoDevelop.  I hit play and it stops at line 16 in FarmerAnimationController.cs with this error: “The type or namespace name ‘CharacterMotor’ could not be found. Are you missing an assembly reference?”

I think my version of Unity is too new for the tutorial, which is frustrating. Any ideas on how to proceed?

Profile
 
 
Posted: 09 October 2017 10:22 AM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
Total Posts:  4642
Joined  2011-03-03

Hi debcat59,

Have you checked with the Unity Support? I googled “MouseLook Unity”, and there is not a lot of data, and certainly nothing with a newer date, which indicates, people had very or none trouble, so far I see it.

Perhaps try to see if this one works, just to make certain it is the script at all.
http://wiki.unity3d.com/index.php/SmoothMouseLook

Not to say I have tested it, as my installation is obviously different to yours.

I’m not familiar with MonoDevelop, did you installed the Unity command-set there?

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.

Photography For C4D Artists: 200 Free Tutorials: Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile