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"

Simple ladder climb (no animation)

Hello! Recently I've started creating a very compact house on Blender as hobby. I decided to go even further and add it into a little "game" to create a save heaven for myself. I'm new to UE and I'm stuck at something that may be really simple for the most experienced members but not for me. To access the attic the player has to climb a ladder. Here is where I'm stuck, I need a very simplistic ladder climbing system without any animation (like is on Minecraft or Hal-Life/Counter Strike) for this action. I've searching for tutorials, but everything I've found was a bit too complex for my project. alt text

Product Version: UE 4.12
Tags:
ladder.jpg (205.4 kB)
more ▼

asked Sep 19 '16 at 02:58 PM in Blueprint Scripting

avatar image

Gabi Alex
3 1 2 3

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

1 answer: sort voted first

Gabi,

This sounds like an excellent little project! Great way to get your feet wet in Unreal.

First off, have you attempted anything yet? Do you have any familiarity with Blueprints or C++ coding? I personally prefer working in C++, but this sounds like something that can be done very quickly in Blueprints if you're code-shy.

If it were me approaching this, I would first set up one collision box at the base of the ladder and one at the top. That way, you will be able to detect when the player runs in to the ladder's space, as well as if the player is going up the ladder (they're overlapping with base collider) or going down (overlapping with the top collider.)

From there, we could go a few different ways. One way would be to change the controls from X & Y horizontal movement to Z & Y vertical movement, like Minecraft does. Another approach would be to turn off player input and simply start moving the player upwards until they reach the top, then turn player input back on. A VERY simple solution could be to teleport the player from the base of the ladder to the top of the ladder, possibly with a fade-in / fade-out transition if you really wanted to get fancy.

So really, the solution to your problem depends on how much coding/blueprinting you're willing to do, balanced against the effect you're wanting.

more ▼

answered Sep 19 '16 at 08:48 PM

avatar image

Timothy Gatton
36 1 2 4

avatar image Gabi Alex Sep 20 '16 at 12:00 PM

Thanks for the reply. I'm still new to both codding and BP, but your answer gave me instead the idea to make an invisible elevator in front of the ladder that will trigger every time I'm in front of it. It's enough for my little project, also this way I learn about matinee that will help me on doing a fully interactive home.

(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