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:
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.
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.
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.