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"

2D: Ladder movement, climb?

Iam using kenney 2d asset for testing unreal things. I was trying to make ladder. This is simple bluepring with collision box alt text

After searching for information on creating the ladder , I found only one tutorial in pdf, which is often referred to . But I think for 2d games , he is not very suitable . So I decided to experiment and make easier bluprint using functions from this PDF. Now its looks like this: alt text

It works simple: on event overlap character acquires the ability to fly. When he leaves the collision box, he stopped flying.

The problem is that with this approach the character moves up and down like a drunk. Because at the entrance to the collision box changing gravity and character finds himself in the turbulent pipe.

Could you suggest a more realistic implementation of the ladder than the one that has turned from me.

Product Version: Not Selected
more ▼

asked May 02 '15 at 05:34 AM in Blueprint Scripting

avatar image

44 7 7 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Set the Velocity on the Character Movement component to Zero if there is no movement input from the player.


more ▼

answered May 02 '15 at 05:42 AM

avatar image

1.9k 60 50 189

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

you can set the collision slope override to 89 degrees in the static mesh settings and it will act like a ladder and let the character walk up.

its a primitive solution but would work well enough for a very simple game.

alt text

more ▼

answered May 02 '15 at 06:15 PM

avatar image

26 2 7 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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