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 /
avatar image
1
Question by bandybryce · Feb 11, 2018 at 10:33 PM · physicsprefab3dobjectbeginner

Prefab starts halfway through object when placed down

Hello. I figured I should attempt to do something in Unity considering I've got quite a bit of spare time. I'm in the middle of a tutorial using prefabs, but whenever I place down any prefab I've made, it's placed down based on what seems to be the object's point of origin. I tried to analyze the tutorial to see if our objects have the same settings and variables, and I've yet to find something. https://gyazo.com/8cad58c09b98fe2491d584d676ed6a8a

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by corriedotdev · Feb 11, 2018 at 10:48 PM

Go to edit -> snap settings or just ctrl and click on the y axis to pull it up.

Also at the top of your scene you will have a local and global transformation option have a tweek there!

However i cant help but see you have a Y value set to 2 on your prefab. Adjust this to say 4 and it should work by dragging into your hierarchy if youre wanting it to snap to a place.

Remember to keep transforms of a prefab drop it into the hierarchy! I do the same all the time :)

Remember if this helped to mark it as answered!

Comment
Add comment · Show 2 · 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 bandybryce · Feb 11, 2018 at 11:11 PM 0
Share

I would like to first thank you for your very fast reply. However, even after changing the snap settings it seemed to not do very much. I also tried to change the Y axis for my prefab, but it still wanted to get placed down on the origin.

Essentially, what I'm trying to do is make it to where when I drag my prefab onto the platform, it sits on the platform ins$$anonymous$$d of going inside of it (I'd like it to look like the box on the left).

avatar image bandybryce · Feb 11, 2018 at 11:43 PM 0
Share

For example, how would I make it to where it snaps to the object in the scene like he's doing it? https://youtu.be/D4I0I3QJAvc?list=PLPV2$$anonymous$$yIb3jR53Jce9hP7G5xC4O9AgnOuL&t=43

avatar image
0

Answer by Shlive · Dec 06, 2020 at 05:27 PM

I think I had the problem that you are describing in this post, and here is how I fixed it.

in the top right there is a toggle tool handle that is called center or in my case it was set on pivot. no clue what these things actually do, but if you are having this problem maybe try toggling that thing to center.

that's at least what I did for my problem with the prefabs glitching halfway through the map. :)

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

164 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 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 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 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

Wrong center of object. Please help 2 Answers

Make a player only move in one direction 1 Answer

Terrain generation 1 Answer

Deactivating one object trough script deletes all versions of it in scene 1 Answer

Physics on shooting objects/effects 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