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 Can I Align my Character to the wall?

Hello

First of all I am a beginner in Unreal blueprinting. So Im working on a wall/ledge climbing mechanic for a university project and Ive come across a small issue with it. When I grab onto the ledge the characters position is based on the angle the player jumped at. This wasnt much of an issue until i started building upon the mechanic with shimmying and ledge jump where the player will start to clip in and out of the walls if the character isnt flat against the wall perfectly, this also affects the tracers as the player cannot move further if the tracers cant pick up a climbable wall. My question is does anyone know a way to get the character to align to the wall?

I have left an example image below

alt text

Product Version: UE 4.19
Tags:
ledgeissue.png (638.4 kB)
more ▼

asked Jul 24 '18 at 02:38 PM in Blueprint Scripting

avatar image

Miketorious
1 1

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

1 answer: sort voted first

You could line trace and get the impact normal to find out which way the wall is oriented.

more ▼

answered Jul 24 '18 at 03:17 PM

avatar image

HarryHighDef
1.4k 2 14 17

avatar image Miketorious Jul 24 '18 at 03:19 PM

Hi thanks for taking the time to answer my question. As I am a beginner Im not the proficient in blueprinting so Im not sure fully aware what these are or how I'd go about doing this.

avatar image mightyenigma Aug 11 '18 at 10:53 PM

Start with learning how to line trace. Youtube has a tutorial called "WTF is line trace?"

(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