• 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 /
This question was closed Dec 03, 2014 at 02:33 PM by unimechanic for the following reason:

Duplicate Question

avatar image
0
Question by GoodGuyA · Aug 05, 2014 at 04:20 PM · gravitytreewallwalkingclimbing

Wall Walking / Vertical Climbing (+ Gravity!)

Essentially what I'm looking to do is similar to the way that the Aliens moved in the most recent Aliens vs Predator game from 2009. I want a center of gravity shift for a player controlled entity to change when it runs up against a surface, most likely with a particular tag such as 'climbable'.

To be more specific, what I want to do is be able to climb a cylinder, be able to climb around the whole circumference of it, then have my center of gravity relocated once I reach the top by only using a tag.

What I also would like to know about rotational space in Unity is if there is a way to set a "default" rotation of gravity. What I would like is if I am climbing the cylinder that, if I jump, I will be pulled in the direction of "logical gravity", meaning pulled down to the ground from the location I started. Since the character controller scripts I use often use a bool for "grounded", would there be a way to say "If not grounded, then shift the gravity in this direction"?

Thanks for any help you can provide. If you think more specific information would help, I'd be happy to provide.

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

Answer by unimechanic · Dec 03, 2014 at 02:33 PM

http://answers.unity3d.com/questions/39014/climb-wall-character-controller.html

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

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Wall Climbing and Default Gravity 1 Answer

Can the Locomotion System be adapted to climb vertical surfaces? 2 Answers

Grappling Hook 0 Answers

Unity 2D Cube Planet Gravity 0 Answers

How to program gravity around a cylinder? (Vine growing up a tree) 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