• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Farore · Apr 07, 2011 at 09:03 AM · movefirst-person-controller

First Person Controller Wont Move

Hi, I'm new to this Unity, and I tried to put a first person controller on my terrain, and it wont move, no matter what I do. It is the one that comes with unity when you download it. I have the free version. And I have no understanding of scripts yet. But no matter what I do, I simply cannot get my person to move. I can get it to look around, but not to move. Please help!

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image shihe · May 12, 2013 at 08:11 PM 0
Share

Hi everyone, I come here because I'm REALLY REALLY desperate.

I'm usually "that" guy which has the most absurd problems with any software, sometimes so basic that the answer is nowhere to be found, and it hinders my progress on anything I set out to do.

Today is no different... I'm trying to make a really basic FPS thingy in Unity3D. People told me it was a simple drag+drop of a First Person prefab. And apparently it is. Except in $$anonymous$$Y case, the character capsule won't $$anonymous$$OVE, won't LOO$$anonymous$$, won't JU$$anonymous$$P. It just sits there staring at wherever the camera is pointing with absolutely NO input reaction.

Please, I beg any of you for all that's holy HELP! I'm tired of being stuck by the most ridiculous of things! (And if it helps, I really absolutely SUC$$anonymous$$ at scripting/coding)

Any generous soul out there, I'd really appreciate any help.

$$anonymous$$y set up is as simple as: -First Person -Plane (to walk on) -Cubes (to use as walls) -Lights (to light up the place and see where I should be going)

avatar image ExTheSea · May 12, 2013 at 08:12 PM 0
Share

I converted your answer to a comment. Answers should only be used to reply to the main question

avatar image fedesilvaponte · Feb 09, 2014 at 05:35 PM 0
Share

I have the same issue, none of the answers I've found worked for me. It would be nice to know if this is a bug, which appears to be.

7 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by routitsm · Oct 04, 2017 at 02:01 PM

I had this weird issue when after starting the game the mouselook worked but the walking didn't. (on Linux). Tried everything in the forums - no good. Even the mouse pointer was gone after esc-ing.

Turned out I had to put the focus into the play window and then start the game by Ctr-P from there.

Hope this helps anyone.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by mattshu · Jun 12, 2017 at 08:46 AM

Also, make sure all of your movement speeds aren't set to 0. This was my embarrassing problem.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by attosec · Jul 27, 2016 at 07:47 AM

This is just a case when you build game for android platform..you would need to make some changes in the first person controller script .. If you wish to make it into the pc platform then just switch the platform to pc mode from file menu... Best of luck.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image B_Madhukar · Nov 28, 2016 at 10:28 AM 0
Share

Thank a lot, It helped me, I made these changes "File->Build Settings->select PC,$$anonymous$$ac and Linux stand alone" click on switch platform

avatar image
2

Answer by shopguy · Dec 06, 2015 at 06:20 PM

Wanted to add as comment, but not enough rep I guess...

To add to massimoatcatnicdotit's answer... if you have your build platform set to Windows Store, it defaults to a compiler define of MOBILE_INPUT, so you can either modify the script as stated, or under player settings, other settings panel, remove MOBILE_INPUT from "Scripting Define Symbols".

This has helped me for using the controller for prototyping Windows Store builds. In the long run I'll either have to use a different controller, or mod this one to correctly support today's modern world of mix/match of all kinds of input (i.e.-on my Windows tablet I often play games with a mix of touch and mouse input, sometimes even have my USB keyboard attached as well -- not to mention desktops with touch input).

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ImperialDynamics · Jun 20, 2018 at 09:31 AM 0
Share

this is the best answer! For me it was a Windows Store game that had the issue and this suggestion worked beautifully. THAN$$anonymous$$S!

avatar image
18

Answer by massimoatcatnicdotit · Jul 16, 2015 at 12:20 PM

The Default Input is MOBILE devices. I have added one line in the FirstPersonController.cs at the end of Start Method:

CrossPlatformInputManager.SwitchActiveInputMethod (CrossPlatformInputManager.ActiveInputMethod.Hardware);

This fixes the problem

Comment
Add comment · Show 7 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image scottwdrummond · Jul 17, 2015 at 10:56 AM 0
Share

This fixed it for me. Thanks.

avatar image SirProIII · Aug 08, 2015 at 08:49 PM 0
Share

where is start method

avatar image vigneshhp200 · Feb 13, 2016 at 12:21 PM 1
Share

Select FPSController from hierarchy -> Find First Person Controller from inspector -> Select Edit Script by clicking the setting gear (Script will open in new window) -> find Start $$anonymous$$ethod and insert : CrossPlatformInput$$anonymous$$anager.SwitchActiveInput$$anonymous$$ethod (CrossPlatformInput$$anonymous$$anager.ActiveInput$$anonymous$$ethod.Hardware); at the end.

avatar image CaJerry87 · Nov 09, 2016 at 07:28 AM 0
Share

It works, good job thank you.

avatar image Droidabi · Feb 02, 2018 at 12:25 PM 0
Share

Its wrkng :)

Show more comments
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

First Person Controller will not move 6 Answers

Why does an object change color depending on where I look 1 Answer

Need help getting my character to move 2 Answers

Prefab connected to empty gameobject with scripts, empty moves, prefab doesnt? 2 Answers

Make Object Move to/follow Another Object? (plus turn towards it) 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges