x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I create a Ladder?

Hello guys, I'm trying to make a ladder works in my 2D game. I'm using this blueprint from a tutorial but it doesn't work and I don't know why. Can anyone help me please? Thanks

alt text alt text

Product Version: UE 4.9
Tags:
stairs_bp.png (168.0 kB)
character_bp.png (207.5 kB)
more ▼

asked Feb 09 '16 at 02:40 AM in Blueprint Scripting

avatar image

arthursgqg
1 2 4 4

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Alright so: I'm not exactly sure what you are trying to do.

I would advise starting with player movement (which I assume you already have). The next thing I would do is set up your ladder/stairs blueprint (Env_stairs in this case):

  1. Make sure that this blueprint has a collider component on it (i.e. one of the components under the "Collision" section of the "Add Component" dropdown in the BP editor.

  2. Click on the newly added collider in the components list for your blueprint.

  3. Make sure that you can see the "Details" panel for this component.

  4. In the details panel of the collider, find the "Collision" section.

  5. Look for the property "Collision Presets", and expand it using the little white triangle.

  6. Make sure that this is set to Overlap All or Overlap All Dynamic

Then, repeat steps 1-6 on your player character blueprint.

Your stair and your character should now be set up to register the overlap events that you have set. (OnComponentBeginOverlap and OnComponentEndOverlap). Test this by adding a "Print" node on your begin overlap events and try to move your character over the ladder. If you did this properly you should see the output of the Print node.

I can try to help you a bit more, but you'll have to be a little more specific about how you have set up.

more ▼

answered Feb 09 '16 at 02:59 AM

avatar image

The7thCrest
120 13 20 22

avatar image arthursgqg Feb 09 '16 at 02:48 PM

Is not working too, sadly. I'm new at Unreal, so probably is something that I'm missing and dont know. The BP I've put above is mine. Those 2 that I put a link are from the tutorial. https://answers.unrealengine.com/storage/attachments/11007-laddervolume_blueprint.jpg https://answers.unrealengine.com/storage/attachments/25517-wallclimb.jpg I did not put the forward nodes in mine, because mine is a 2D game. Should I put them too?

avatar image The7thCrest Feb 10 '16 at 04:07 AM

Sorry, I'm still not sure. Need a bit more information... The tutorial you're following, is it for a 3D game? Also, just for clarification the game you are working on is in 2D?

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question