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"

Moving Platform (Paper 2D)

I am trying to create a moving platform in Blueprints that can be reusable for different parts of my level. Unfortunately I ran into some issues:

When you stand on the platform and press the Key "E" the platform should start to move from Point A to B. I have used a Spline Component for me to set the points manually in the editor. Here is what I have so far in the Event Graph: alt text

The problem is that I want to be able to set a time for how long the platform should be moving from Point A to B. I don't know how to implement that within the Timeline. Even, do I need a timeline to move the platform smoothly from Point A to B? Any help would be appreciated.

Note: I have tried to use the Function "Move Component To", but it messes with the collision of the player and sprite.

Product Version: UE 4.18
Tags:
platform.png (247.7 kB)
more ▼

asked Apr 21 '18 at 01:03 PM in Blueprint Scripting

avatar image

EliasWick
43 4 11 13

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

2 answers: sort voted first

you could instead of a spline do 2 vectors and have one at 0,0 that's where you start and another vector editable and be able to be seen in viewport and use the timeline for a interp on a lerp vector the second vector can be changed at free will on any one you place so you could make it go up or left or right or even down.

more ▼

answered Apr 23 '18 at 03:52 PM

avatar image

HuoCrazeh
91 1 7 2

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

you could instead of a spline do 2 vectors and have one at 0,0 that's where you start and another vector editable and be able to be seen in viewport and use the timeline for a interp on a lerp vector the second vector can be changed at free will on any one you place so you could make it go up or left or right or even down.

more ▼

answered Apr 23 '18 at 03:52 PM

avatar image

HuoCrazeh
91 1 7 2

(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