• 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 d112570 · Dec 13, 2013 at 03:51 PM · objectdistanceshaking

Object with camera shaking at 40000 distance.

I have 10 different star systems at x0,y0,z0 / 0,0,40000 / 0,0,-40000 / 40000, 40000, 40000 etc.

Each star system is large so you can travel to and fro, visit a galaxy, star, planet satellite.

Problem smaller objects with a scale of 1,1,1 shake at a distance around 40000, worser the larger the number. The maximum orbit distance for satellite is 200, planet is max 4400, star is 44000, Galaxy 40000. Object don't shake when galaxy is at 0,0,0.

Satellite rotates, orbits planet, orbits star, orbits galaxy. The galaxies do not orbit, they stay still. When I move the galaxy from 40000 to 0 it stops shaking, but I can't have all galaxies at 0 they would be overlapping. I don't see any difference why it should be a problem, they are only coordinates. The galaxy is not orbiting anyt$$anonymous$$ng. When Im in one of the galaxies I turn the other galaxies off, but when Im at the cosmos are, I need see all galaxies, to be able to choose w$$anonymous$$ch one to travel to, therwise I would of kept all galaxies at 0,0,0.

Any solutions?

Comment
Add comment · Show 2
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 guitarxe · Dec 13, 2013 at 03:56 PM 0
Share
avatar image _dns_ · Dec 13, 2013 at 04:01 PM 1
Share

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by flaviusxvii · Dec 13, 2013 at 04:56 PM

Here the guys from Kerbal Space Program explain how they dealt with that issue.

http://www.youtube.com/watch?v=mXTxQko-JH0

Comment
Add comment · Show 3 · 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 d112570 · Dec 13, 2013 at 05:33 PM 0
Share
avatar image DaDonik · Dec 13, 2013 at 05:44 PM 0
Share
avatar image deus0 · May 12, 2021 at 03:03 AM 0
Share
avatar image
0

Answer by DaDonik · Dec 13, 2013 at 04:43 PM

I'm also doing a spacegame and i encountered that jittering problem before, using other engines. The best approach i found is to create a second camera and a layer where all your galaxies, planets,... all the big stuff goes in. Make sure that your main camera does not render t$$anonymous$$s "background" layer and also scale your big objects down, so you don't ever reach more than say 10000 units in one direction. Now all you have to do is move your background camera with a small percentage of the movement of your main camera. That way it will look as if you fly for minutes and finally reach that galaxy, even though it's only a few hundred units away from the origin of your background world.

Comment
Add comment · Show 3 · 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 d112570 · Dec 13, 2013 at 05:30 PM 0
Share
avatar image DaDonik · Dec 13, 2013 at 05:41 PM 0
Share
avatar image d112570 · Dec 13, 2013 at 07:09 PM 0
Share

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

20 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

Related Questions

Decrease distance between 2 objects 3 Answers

How to get distance between camera and object? 1 Answer

Getting vectors on an object every so many units 0 Answers

Check for an instantiated object farthest from player? 1 Answer

object distance 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