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 mythweaver · Apr 04, 2012 at 10:01 AM · cameracontrollergravityattach

How to 'gravitize' an object/camera to another sphere...

This is my first post and I hear you guys are legends with support.

I've recently downloaded Unity and spent a couple of days reading/watching tutorials but would love it if someone could help me with a specific scene I need to create for a game I'd like to make.

Imagine a solid world (a sphere with terrain etc) Now put that world inside a second (invisible) tracking sphere (bubble). I want to be able to travel around this invisible sphere in a hover-pod-like vehicle which has a 'glass' floor. So I need the vehicle to 'stick' to the outside of the invisible tracking sphere as if by gravity so I can drive around and explore the world from above. I'll need to create a view through the floor of the vehicle that allows me to observe the world as I drive around the invisible tracking sphere. Ideally, I need to be able to manoeuvre/slide around the sphere in any direction (unlike a car which only has forward and reverse axis',) including sideways and diagonally, fluidly and accurately, as if I was in a hovercraft on a slightly slippery surface. I'm assuming I attach a camera to a controller then link it to the outer sphere somehow?

My main concern is getting the vehicle/camera to stick to the tracking sphere as if by gravity and for the solid inner world sphere to remain stationary as I orbit around it in my pod.

Gravity... I tried dropping an apple on my head... but the worm didn't appreciate it.

Any takers? Please take pity. ;-)

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

Answer by kalvinlyle · Apr 04, 2012 at 10:29 AM

My advice:

  1. You need to break your game down into a series of smaller achievable experiments

  2. Focus on one experiment at a time, then work on putting them together

If you ask more concrete questions you will get more concrete answers:

  1. How do I control an objects movement with the keyboard?

  2. How do I make a transparent material?

  3. How do I make a vehicle only fly around a sphere at a set distance?

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

WASD Controls not in-sync with camera? 1 Answer

Attaching an object to a camera movement weird, Help! 2 Answers

How to rotate camera diagonally over players shoulder while still facing towards players direction 0 Answers

Gravity without character controller 1 Answer

Apply gravity 2 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