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 to make a character perform moves at place

Hi,

I'm still learning the Blueprints and feel new to game developing.

So, I made this Endless Runner Game following this tutorial where the floors are moving towards the Character while the Character itself stays at place. But in my case the character is taken away by the floors. The tutor used a pawn class BP but I transformed it into Character class and now facing this issue of Character moving together with the floors in opposite direction while the pawn was staying at place perfectly, but the Pawn can't jump and slide or at least it is more complicated to set it in Pawn BP.

So, how can I make him stay at place and perform all the jump, slide and lane switch actions while the floors are moving under him?

I tried to set gravity scale to 0 but in this case the Character can't jump. Is there any smarter solution to that?

If you can give me an idea of how can I make the Pawn perform jump and slide actions, then I'll just switch back to Pawn.

Thanks in advance.

Product Version: UE 4.21
Tags:
more ▼

asked Feb 18 '19 at 05:51 PM in Blueprint Scripting

avatar image

baradammi
3 1 2

avatar image baradammi Feb 19 '19 at 11:14 AM

OK, I've put a Plane BP behind the Character with the transparent side towards the camer, and is now blocking him from moving back with the floors, but I think there must be a more clever way of doing it, may be someone knows that way?

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

0 answers: sort voted first
Be the first one to answer this question
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