0 votes

Ok [Godot 3.2.1 windows 2D.] I can switch to another version of Godot (if needed)

what I am trying to do is
create a pipe
then make it so that I can do both
[A] stand on top of it (I.E static body 2d)
[B] push the E key to go down into the pipe (I.E go from where the pipe is located to another place on my scene.]

so far I have tried Static body 2D with Collision shape 2D attached (it allows me to stand on top of it) but it will not allow me to go from location to location

or an Area2D with CollisionShape2D that allows me to go from 1 location to the other
but i can not stand on top of it

I have also tried creating one and adding the other (does not work)

Godot version 3.2.1 on Windows
in Engine by (52 points)

1 Answer

0 votes

If you put the area2d on top of the pipe and a collision shape in the pipe itself and create an animation which looks like the sprite going down (i.e. cutting the sprite off piece by piece to give the illusion of going down) you should be able to do it that way.

by (2,001 points)

OK that did not work lets try this way:

                                                  top of pipe[location a]

when a character walks up to pipe-A and jumps straight up he lands(where it says top of pipe) with him standing there if he presses the e key he then goes to [location-b] other wise he still stands there

[location-b] is way down here

p.s (if you can take time to create an image and code needed and send it to me)

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.