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 Rgalaxy · Dec 14, 2013 at 08:52 AM · colliderobjectfar

Collider added far from object

Hellow, i tried to add a collider to my object..

i add box collider to my "House" object.. but the collider appear a little far from the real object.... anybody know why this happening? does this has to do with the object itself? i tried to change the collider offset, but when i do some script, the object goes to the first place that collider added, cant find where's the new offset collider..

alt text

see, the collider is so far.. its the 0,0,0 and i even change the size to 20.. anyone could help? Thanks before :)

capture.png (507.0 kB)
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
Best Answer

Answer by Acegikmo · Dec 14, 2013 at 09:04 AM

As you can see on the object you have selected, it has child objects. That object has the collider, but the child objects are the ones that has the house mesh information, which means that the child objects can be at a different location. I also noticed that you've got Center and Global selected at the top in the toolbar, switch to Pivot and Local to easier see where the pivot points are :)

Comment
Add comment · Show 5 · 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 Rgalaxy · Dec 14, 2013 at 09:49 AM 0
Share

yeah u point it all out.. wow.. the pivot is actually at that place.. so the wrong is on the object pivot right?

any way out of this? @Acegikmo ? thanks before, u really open my eyes

avatar image Acegikmo · Dec 14, 2013 at 09:51 AM 0
Share

It depends on how the model was created, and if you've moved the child objects yourself.

The best would be to correct it in the actual model itself. Other than that, you might have to reposition the child objects so that they have a more sensible pivot :)

avatar image Rgalaxy · Dec 14, 2013 at 10:10 AM 0
Share

yea, i've been searching for a while there's no way out except to correct it from the model itself... actually i take an object from websites, and i currently dont have any modelling skill :/ so maybe i'll see if i could find someone to create it for me..

btw 1 more thing @Acegikmo, i create a "forest" from 4/5 trees, but the pivot is so crazilly far.. i add them 1 by 1 to the group and change their place manually, is there a correct way to do that?alt text

avatar image Acegikmo · Dec 14, 2013 at 10:11 AM 1
Share

You can move the child objects and correct the pivots, and then save it as a prefab. You can then use the newly saved prefab ins$$anonymous$$d of the import-prefab that models create

avatar image Rgalaxy · Dec 16, 2013 at 05:54 AM 0
Share

wow, it's perfect, it happening to fixed my problems ! i don't know that by adding an object didn't change the position of Empty Object pivot ! thanks so much @Acegikmo

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

17 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

Related Questions

how to check if one object is colliding with another 1 Answer

Enable objects to enter the trigger 2 Answers

problem with collider 1 Answer

wheel colliders HORRIBLE PROBLEMS is this really me? 2 Answers

Problems When Shooting Multiple Enemies round about 4 times 1 Answer


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