Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 /
This question was closed Aug 18, 2016 at 06:48 PM by NinjaClicks for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by NinjaClicks · Aug 17, 2016 at 04:40 PM · sceneobjectsplaymode

Object placed in scene view appears in a different area in game

Hi everyone,

I am brand new to Unity and to game development in general, but I am having a blast. While I was working through a tutorial I got a strange occurrence with my objects.

So, I have a cylinder with a texture material attached that I use for animation for a "teleportation pad" and then I have a cylinder within that cylinder (unmeshed) to act as a trigger for the script code that I am using to "teleport" my FPScontroller to the designated location.

now in scene view the cylinders are placed in between some other objects in a designated spot. My issue comes in when I enter the game tab (pressing play). The objects where the cylindrical animation and trigger are supposed to be situated in are in the right spot, but the trigger cylindrical object as well as the trigger inside it appears somewhere off into the woods behind my little huts.

I can still run to that spot and jump into the object and the script triggers successfully moving my FPScontroller to the right spot, but the objects are in the wrong place.

Obviously there should be a reason why it does this, but I am at a complete loss, could anyone of you maybe assist me with regards to the above?

Your help is highly appreciated.

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

  • Sort: 
avatar image
0
Best Answer

Answer by NinjaClicks · Aug 18, 2016 at 06:47 PM

I'm just going to answer my own question here. I figured out the problem whilst going through my game.

The issue in this instance was with the animation of the one cylinder. I made the unmeshed trigger cylinder a child within the animation cylinder, so it acts as one object when I was doing the animation.

Somewhere along the line I made a mistake in my recording of the animation and set the coordinates of the parent animation cylinder to the "woods behind my little huts" where in the next frame increment I only started with the up-and-down motion of the animation effect.

So while the initial location was correct in my scene view (where I placed it), as soon as I launched the game the animation then starts (autoPlay) moving the parent object (animation + trigger) to the "wrong" location in perfect working condition.

Lesson learned, keep your head on straight while doing animations :P I hope that this Q&A might help someone in the future as well.

Cheers.

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

Follow this Question

Answers Answers and Comments

66 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

Related Questions

All objects become transparent when press play. why? 0 Answers

Can I use semantic web Ontology with Unity? If yes how? 0 Answers

Why does the AssetBundle needs the assets to be present in the folder? 0 Answers

How to show and remove text before player has started the game? 1 Answer

my scene looks realy boring... 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