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
0
Question by nasirs001 · Aug 27, 2015 at 12:34 PM · meleecombatmelee attack

Combat and melee techniques

I've been researching melee and combat techniques and tutorials but so far I can't really wrap my head around it. I don't mean the hack and slash style combat but more 3rd person combat. I figured it'd be as simple as adding colliders onto the weapons but from what I researched that isn't the case apparently. So what method should I use?

Comment
Add comment · Show 1
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 Owen-Reynolds · Aug 27, 2015 at 04:51 PM 0
Share

$$anonymous$$oved this to the Help Room Area. It doesn't fit in well with the main UA area (see the FAQ,) and is a repeat of older similar questions (but you may not know the terms to use to look them up.)

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by LaneFox · Aug 27, 2015 at 12:42 PM

There are quite a few ways to do it but it certainly is not as simple as just adding a collider to the weapon.

1) You can add a Collider to the weapon, slave it to the Hand and play Animations. But..

  • You will need to ignore collisions with the wielder.

  • You will need to polish the animations quite well because the volume will more precise.

  • You will probably need to turn the collider on/off at the proper time in the animation to prevent 'touching' damage.

2) You can make a static volume (or cast) in front of the player which turns on/off/activates based on if the weapon is attacking, but...

  • You will have less accurate volumes

  • You will still need to time the damage dealing with the animation in some fashion

  • You could use a Spherecast or something here instead of a trigger volume.

Without more specifics of what you're trying to do it's a bit difficult to recommend something for you, but these are two common approaches.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Melee combat sword system 1 Answer

melee system, does not apply the damage and two attacks 1 Answer

Melee Area Attack - Object reference not set to an instance of an object 1 Answer

Having trouble with melee attack script 1 Answer

Unity Melee Attack Problem / Atak problemi var yardım edin :( 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