Announcement

Collapse
No announcement yet.

Problem by creating a personalizable moving platform with a timeline

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem by creating a personalizable moving platform with a timeline

    Hi everyone,

    I want to create a moving platform by using a timeline, my timeline looks like this:

    Click image for larger version

Name:	1439148835-capture1.png
Views:	1
Size:	33.8 KB
ID:	1159082

    So the platform is moving to the right on the first 2 seconds, then the platform is moving to his initial position.

    My problem: I want to personalize this platform (moving direction, speed), so I want to be able to edit this value...

    Click image for larger version

Name:	1439148836-capture2.png
Views:	1
Size:	34.2 KB
ID:	1159083

    ...from the detail panel like this:

    Click image for larger version

Name:	1439148836-capture3.png
Views:	1
Size:	38.6 KB
ID:	1159084

    So I created some public variables (editable in the detail panel) and I want to use these variables in the timeline, but I don't know how to do it:

    Click image for larger version

Name:	1439148837-capture4.png
Views:	1
Size:	188.2 KB
ID:	1159085

    Can someone explain to me how to do it?

    Thanks for your time!

    #2
    I posted a thread just like this a while back, and it looks like you can't edit curves from blueprint. Something you can do from blueprint is just to set your value to 1 in the curve, and then when you want a customizable value, just multiply the red value by your variable.
    Marketplace Assets

    Advanced Mobile Input: Marketplace Page | Support Thread ――― Easy Input Remapping: Marketplace Page | Support Thread
    Multiplayer Blueprint Chat System: Marketplace Page | Support Thread ――― Closing Credits System: Marketplace Page | Support Thread
    Minesweeper Template: Marketplace Page | Support Thread ――― Maze Creator: Marketplace Page | Support Thread

    Comment


      #3
      What jamen said: have your curve go from 0 - 1 and multiply the value you want it to be at the end. You could make that variable in the construction script too so that you could use the 3D widget feature and set the end point in the level itself.

      Comment


        #4
        Thank you very much, it works great!

        If someone is interested, here's my final blueprint:

        Click image for larger version

Name:	1439157947-capture1.png
Views:	1
Size:	297.7 KB
ID:	1083488

        You could make that variable in the construction script too so that you could use the 3D widget feature and set the end point in the level itself.
        I never used the 3D widget feature before, so I don't know how to do it, but thanks for this information, I will read the documentation, it looks very interesting

        Thank you everyone and have a great day!
        Attached Files
        Last edited by MyroG; 08-09-2015, 06:10 PM.

        Comment

        Working...
        X