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 /
  • Help Room /
avatar image
1
Question by Link4lyfe · Dec 29, 2015 at 10:17 PM · collisiondestroymodelhithealthbar

Newbie Simple Melee

Hello, I am very new to Unity, and a student trying to learn gamedesign. Right now for an assignment I am creating a simple player level. I couldn't find any help on exactly what I am trying to do however. I created a 3D model of a stick. I know how to import the model into Unity, but not how to create/ use it as a melee weapon.

What I want to do is simple, using the FPS controller I want to be able to walk up to the weapon and "pick" it up right into my hand. If I find another weapon (say a sword later) I want it to drop whats in your hand and just pick up the new weapon (No inventory system). I then want to be able to walk around in FPS while seeing my model, and being able to swing it with the shift key. Maybe an HP system too (like 1 hit and an enemy or NPC would disappear).

I am sorry if this is too much to ask for, just looking for guidance. I don't know any scripting as of yet.

Thank you.

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by ElementalVenom · Jan 02, 2016 at 04:03 AM

For the item swap i made a whole video for it: LINK

For the health bar ive done a video on that in the past: LINK

And for the actually hitscan/kiling i will make a video in a few days.

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 Link4lyfe · Jan 02, 2016 at 04:17 AM 0
Share

Awesome! Will check these out in the morning.

Do the videos cover how to put an object in your hand in FPS?

avatar image ElementalVenom Link4lyfe · Jan 02, 2016 at 04:39 AM 0
Share

Um. Briefly. I didn't see that you wanted that or i would have touched on it more. In the first video when i attach the stick that will be along the lines of what you will want to do.

avatar image Link4lyfe ElementalVenom · Jan 02, 2016 at 03:01 PM 0
Share

Going to check out the videos now, but theyre marked private.

Show more comments

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

41 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 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 avatar image

Related Questions

Terrain Collider Hit 0 Answers

Unity Collider2D is causing the game object to disappear upon collision? 1 Answer

Why won't this object destroy on collision? 1 Answer

distinguish players for collision between them 0 Answers

It seems my tag detection does not work properly 2 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