Question for moving platforms
Hi Everyone, can someone tell or show me how to script the following in blueprints? https://www.youtube.com/watch?v=Ze6My6agCU4
I wan't to have platforms that move up and do a nice rotation when the platforms are moving up. When you are close to them they will do the rotation and go up.
I don't know how to script this in blueprints. I think it's very easy to do but i can't figure it out on my own. If you know how to do this point me in the right direction, or if you have any hints or tips you can give me that would be very nice.
Actually this is what i want to create: https://www.youtube.com/watch?v=vaDmPWVfEnw
If you know how to do this please share the info. Blueprints would be very nice :-)
Thanks in advance.
asked Jun 04 '17 at 07:10 PM in Blueprint Scripting
This should not be too hard to do. In the tile class you have a default position where an idle animation is always playing, but when the distance between the ball, that is the character, and the tile is below a certain threshold you stop playing the idle animation and move it to the position and orientation needed for it to become a floor.
I would put each tile on a perfect grid on the floor and then give them a random rotation at the start of the game. Based on the proximity of the player you flip flop between that transform and the new transform that moves the block up to the floor transform.
HTH (and no, I will not give you a complete example because these are blueprint basics and you will learn more by solving the basic challenges yourself)
answered Jun 04 '17 at 07:57 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here