Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 Viivi · May 08, 2015 at 08:19 PM · duplicateenemiesworking

I am currently working on a 3-D platformer and am running into an odd problem

Basically what is going on, I duplicated some of my enemies, everything seems to be exactly the same between each enemy....yet the duplicated enemies don't deal damage to the player like the originals and I can't figure out why. Does anyone have a list of things I should go over to figure this out or any suggestions? Thank you in advance.

Comment
Add comment · Show 6
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 fighder · May 08, 2015 at 08:47 PM 0
Share

During run time, check if the duplicated enemies have the exact same components with the exact settings as the original. Also, make sure the enemy prefab is the same as the original enemy.

avatar image tanoshimi · May 08, 2015 at 08:58 PM 1
Share

Are you doing collision detection by gameobject name? Do your duplicates have the "(Clone)" suffix?

avatar image Viivi · May 09, 2015 at 01:15 AM 0
Share

During run time the enemies stuff if exactly the same as the original, they do not hold the Clone suffix, I literally just copy and pasted them because they were generic enemies. I'm still pretty new to all this Unity stuff . Should my enemies be prefabs like, say bullets?

avatar image fighder · May 09, 2015 at 01:23 AM 0
Share

you should post your damage script so we know how damage is applied.

avatar image Viivi · May 09, 2015 at 01:40 AM 0
Share

Currently at work. Will post the script when I get home for you guys to see if you can make sense of it.

Show more comments

0 Replies

· Add your reply
  • Sort: 

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

I can't have more enemies at the same time. 1 Answer

Copying/combining objects in unity? 1 Answer

Does unity support instances in Maya? 1 Answer

How can I duplicate an object and place it randomly near the original ? 0 Answers

load objects just if they in range of camera 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