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 RustyTheBoyRobot · Apr 02, 2012 at 07:09 AM · boxcollidercenter3.5

Box Collider Center property reaction changed from 3.4.2 to 3.5

In Unity 3.4.2, I created an object that used a BoxCollider. I had modified the Center property to help with positioning objects. In 3.4.2, this had the effect of moving the transform handle independent of the BoxCollider, like this: Independent motion

When I upgraded to 3.5, I found that modifying the Center property simply shifts the entire box and keeps the handle in the center of the box, like this: Screwy motion

This is annoying and makes it harder for me to correctly position my level objects. I need a way of moving the transform handle independently of the Collider. Is there a way to do this in Unity 3.5?

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
0
Best Answer

Answer by RustyTheBoyRobot · Apr 03, 2012 at 03:21 AM

So, with a little more research, I've found my answers.

Answer 1

hanging the Center property worked, I just didn't have a full grasp of the UI. In the top left, there is a button to toggle between Pivot/Center transform and Local/World space. Using these buttons, I was able to duplicate the functionality that I was familiar with in 3.4.

UI

Answer 2

was using this offset center to place objects. For example, I had a collision trigger that would "hang" from a ledge. The trigger would be placed an arm's length down from the ledge. The trigger would make the character react naturally, and the target ledge position could be stored to know how far up the character was supposed to climb. I found this post and realized that I could put some guiding geometry in a prefab with the trigger, and then mask out the positioning geometry so the camera wouldn't see it.

New prefab

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Move sprite depending on its collider position 1 Answer

Check if the center of an object is inside a trigger Collider? 1 Answer

finding the center of a 2d box collider, 1 Answer

Boxcollider Center Resetting to Zero Whenever Edited 0 Answers

Importing Unity 3.5 packages to 3.4.2 problems 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