Jump to content

View more

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

[Unity] What's the best way to handle Aiming Down Sights in FPS?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 farooqaaa   Members   

100
Like
0Likes
Like

Posted 16 February 2012 - 09:38 AM

Currently, I run the game and position the weapon so the its aimed perfectly and save that position in a Vector3. This is working fine but I was wondering if there's any other better way.

#2 meeshoo   Members   

512
Like
0Likes
Like

Posted 17 February 2012 - 05:49 AM

Well, you are not giving us too much info to work with, but what do you understand by "a better way"? If it works for you, then I guess it is OK. Are you trying to make some wobbling to the gun to simulate body movement while breathing, or any other effects?

#3 frob   Moderators   

44029
Like
0Likes
Like

Posted 17 February 2012 - 07:09 AM

The general implementation is easy enough: reduce the viewing angle from the 60' or so that you normally use down to around 8' viewing angle that a good scope will give, then draw crosshairs over everything. To help the player you also need to reduce the sensitivity of movement.

What more are you looking for in a scope?

Check out my book, Game Development with Unity, aimed at beginners who want to build fun games fast.

Also check out my personal website at bryanwagstaff.com, where I occasionally write about assorted stuff.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.