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 shrshbel · Nov 13, 2014 at 09:25 PM · camerapositionparentchildquad

camera and positiong problems

i have a Quad and i attached a scirpt to it which is making random platform spawn with diffrenet time but the problems is everytime i make it a child of the camera it goes to the position of camrea and cant change the posiotn of it ?

Comment
Add comment · Show 7
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 blueLED · Nov 13, 2014 at 09:27 PM 0
Share

That's how the parent-child setup is supposed to work. What did you want it to do ins$$anonymous$$d?

avatar image FairGamesProductions · Nov 14, 2014 at 02:02 AM 0
Share

We need a little more information. What do you mean by "random platform spawn with diffrenet time"? If I did understand this correctly, you need to make sure that the platforms you spawn are NOT marked Static. Static objects cannot move when the game is playing.

avatar image MrSoad · Nov 14, 2014 at 02:09 AM 0
Share

FairGamesProductions he does not mention Static anywhere??? I've just made my FPS controller static and it moves around with no problems at all, maybe this is bad practice(I would not normally do this at all ever) but it certainly does not stop an object from moving when the game is running...

avatar image blueLED · Nov 14, 2014 at 02:34 AM 0
Share

Yeah, objects marked static can still move. The static value is used to tell the lightmapper to generate a lightmap for that object.

avatar image FairGamesProductions · Nov 14, 2014 at 02:42 AM 0
Share

In my experience, if an object is marked static then animations or trying to move it with the mouse in the editor while the game is running won't work...

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Dragonsnare0 · Nov 14, 2014 at 05:55 AM

Make the Camera the child of the Quad.

The camera will then move with the quad.

I hope that's what you meant by this because that's what I got.

Comment
Add comment · Show 1 · 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 shrshbel · Nov 14, 2014 at 09:36 AM 0
Share

when I do that its the same thing I want the camera and the quad to follow the player but in different position for example I want the camera to be at Z = -10 but the quad is at Z = 0 so I can jump on the prefabs I have attached to the quad

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Make a simple tree 1 Answer

Child affecting parent rigidbody? 1 Answer

How to smoothen movement of a child object? 1 Answer

Rotating a parent-child pair 2 Answers

How to set child position and rotation fixed respect parent? 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