Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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
0
Question by Bloodlust · Sep 03, 2011 at 03:02 AM · cameramovementkeyboardaimingfixed

Mouse Aiming + Fixed Camera + Independent Keyboard Movement

I don't know if any of you guys have ever played an online zombie MMO called Dead Frontier, but it uses Unity3D. Now, what I am trying to do is get my game to play (movement wise) just like Dead Frontier.

http://www.youtube.com/watch?v=tHM1rrdbiAc

There's a link to a youtube example if you've never played the game. Now, here's what I'm trying to do but can't figure out where to start. I've looked at the Unity3D community script wiki area and couldn't find this stuff. I'm very new to the program and would need some help on this.

As my game currently is, the player can use W,A,S,D to move the character. However, the character and the camera turn when trying to move any other direction other than forward. How do I get the camera to lock in place, never change, and have the character independently move and look around / aim just like in Dead Frontier?

Thanks in advance. ~Bloodlust

Comment
Add comment · Show 8
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 Bloodlust · Sep 04, 2011 at 02:39 AM 0
Share

Can somebody please help me out here? If this gets done then I'll be able to complete the base of the game. D=

avatar image Waz · Sep 04, 2011 at 12:04 PM 0
Share

Really? A game where the hardest part is making the camera control script? If you hadn't already whined when someone else did, I'd down vote this.

avatar image Bloodlust · Sep 04, 2011 at 03:34 PM 0
Share

If I could, I'd down vote this little outburst right here. -_- If it's SOOOO simple, why don't you write me a big fat tutorial on it? Yeah, that's right... you won't. Don't comment unless you're helping me out, please.

avatar image SisterKy · Sep 04, 2011 at 04:11 PM 0
Share

cough... dude, tone it down a bit, will you? Warwick is a big help around these parts of the interwebs~. So shutting him up in this manner won't make many friends around here. Seriously! He didn't even actually do the thumbs-down. But reacting like this you're just inviting the downvotes in...
Why he's not writing a big fat tutorial on it for you even though it would in fact be fairly simple for him? Because a) that costs time and b) time is money and c) you're not paying him ... simple as that.
Everyone around here is doing the helping-thing on their spare time. Spare time is valuable. If someone feels his sparetime is wasted (by ending up reading a question that would not have been necessary because it has been answered before), it's their right to complain about it... Definitly better than downvote without giving a reason.
Greetz, $$anonymous$$y.

avatar image Bloodlust · Sep 04, 2011 at 04:18 PM 0
Share

The main reason why his comment upset me was because he basically called me an idiot. So if it's really frowned upon around here to not like it when you ask a question and someone goes "Really? What you're asking for is the hardest part? It's terribly easy!!" then there's something extremely wrong here.

Also, the "tutorial" question was rhetorical. I'm just looking for some good help with this, so can we cut all the crap and help out or simply not comment at all? (Another rhetorical question).

PS: I still need help with this, sorry for me being so nooby but your answer didn't get me anything like I was hoping for.

Show more comments

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by SisterKy · Sep 04, 2011 at 09:23 AM

You could try this http://answers.unity3d.com/questions/27787/diablo-style-camera-and-movement.html or if this doesn't work for you search around here http://answers.unity3d.com/questions/topics/topdown.html?sort=votes

Greetz, Ky.

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 Bloodlust · Sep 04, 2011 at 03:51 PM 0
Share

Thank you, I got the camera fine but the other stuff like mouse ai$$anonymous$$g and keyboard movement, I still haven't found anything on how to do that.

avatar image
0

Answer by BurningGamesSoftware · Sep 03, 2011 at 04:05 AM

I could not answer that directly but I guess you could try to take a look from the inside at AngryBots. They do that in there. You can download it from the Asset Store.

Comment
Add comment · Show 4 · 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 Bloodlust · Sep 03, 2011 at 05:13 AM 0
Share

Thank you for your time, but I'm looking for a little more of a direct answer. :P

avatar image Bloodlust · Sep 03, 2011 at 04:48 PM 0
Share

I also have no clue who the hell downvoted my thing... :( Now nobody is probably going to look in here. If it was you, thanks a bunch... :(

avatar image BurningGamesSoftware · Sep 04, 2011 at 03:14 AM 0
Share

sorry i did not mean to... i tried to do a comment n i accidentaly did an answer... ill try to find it out myself directly and let u know... and again sorry...

avatar image Bloodlust · Sep 04, 2011 at 04:10 AM 0
Share

It is alright, an apology always helps.

avatar image
0

Answer by SisterKy · Sep 04, 2011 at 04:22 PM

To give you a start on the look-at-mouse... it won't be perfect yet, though.

http://answers.unity3d.com/questions/9737/how-can-i-make-the-character-follow-the-mouse-poin.html
http://answers.unity3d.com/questions/59652/look-at-mouse-problem.html
http://www.google.com/cse?cx=002470491425767499270%3Aiugs1ezlsfq&ie=UTF-8&q=raycast&siteurl=www.google.com%2Fcse%2Fhome%3Fcx%3D002470491425767499270%3Aiugs1ezlsfq

Greetz, Ky.

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

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.

Follow this Question

Answers Answers and Comments

6 People are following this question.

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

Related Questions

How can I change Z rotation of a FPS player ? 1 Answer

ScreenToWorldPoint exclude objects or layers? 1 Answer

Fixed camera on rails. 2 Answers

Killing keyboard input until cutscene has played. 2 Answers

Disable Camera Movement,Stop camera movement 0 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