• 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 /
avatar image
Question by kenikall · Mar 13, 2018 at 01:04 PM · movementplayercontrollermovement scriptmove an object

How do I get a character to walk on walls and ceilings?

I am making a 2D game and I want a character to follow the surface of the platform they are on even if that means walking on the wall or the ceiling. Basically a Zoomer from NES Metroid zoomer

zoomer.gif (16.3 kB)
Comment
BossClaw
LuisDark

People who like this

2 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 kenikall · Mar 27, 2018 at 01:10 AM 0
Share

Figured this out. If anyone else is interested let me know and I'll post my solution.

avatar image exzizt kenikall · Mar 27, 2018 at 02:57 AM 0
Share

If you answer your own question, you should post your own solution and mark it as solved. :)

avatar image Rynbernsz kenikall · Jun 06, 2019 at 11:42 PM 0
Share

I am trying to make this same enemy! How did you solve it?

avatar image Rynbernsz · Jun 05, 2019 at 12:21 AM 0
Share

I am trying to make this same enemy! How did you solve it?

avatar image tormentoarmagedoom Rynbernsz · Jun 06, 2019 at 10:37 AM 0
Share

Hello @Rynbernsz

If what you want to say is not an answer, dont post it as anser, post is as a comment, because people will not enter the post becuase they see there is already an answer...

Bye

avatar image UnityinTraining · Jun 06, 2019 at 06:16 AM 0
Share

I would like to learn how to do this as well... Please share

avatar image tormentoarmagedoom UnityinTraining · Jun 06, 2019 at 10:37 AM 0
Share

Hello @UnityinTraining

If what you want to say is not an answer, dont post it as anser, post is as a comment, because people will not enter the post becuase they see there is already an answer...

Bye

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by tormentoarmagedoom · Jun 06, 2019 at 10:35 AM

Hello.

Its simple, you only need to check its collider as "trigger or simply remove the collider component.

So the wall will be rendered there, but for collissions its like that wall doesnt exist, so all other colliders can pass through it.

Ps: This is a very basic issue, you should watch some tutorial about colliders to learn how to use them and what they can do.

Bye!

Comment

People who like this

0 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 Playbench · Jan 03 at 06:32 AM 0
Share

Your answer is as incorrect as it is rude. The Zoomer enemy doesn't' just pass through walls, it sticks to all of the tiles at it moves in one direction, just like the poster stated and you ignored. The movement needs to wrap around the platforms. Simply unchecking its collider does not solve his issue. It may be a simple issue, but you got it wrong. I'm new to programming and was looking to see how others handled this and landed on this post. I'm sure the OP has figured this out a long time ago, and I'll figure it out too, no thanks to high-brow replies like yours..

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.

Update about the future of Unity Answers

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta later in June. Please note, we are aiming to set Unity Answers to read-only mode on the 31st of May in order to prepare for the final data migration.

For more information, please read our full announcement.

Follow this Question

Answers Answers and Comments

132 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 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

Object Player Movement stops working after Restarting Unity 0 Answers

Y-axis movement stuck. Help me please :c,Not Moving by pressing Button :C. Help me please 0 Answers

Dash Movement Platformer 0 Answers

Player (box) movement is shaky (visual only) 0 Answers

Press on object, and be able to control that object you pressed on. 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