A quick video showing the different types of platforms that I have currently developed for Juda.
​YELLOW: For this moving platform, I basically lerp an actor location for 100 units every second. From there, I have a public variable exposed to the BP that tells how many times I should loop through that iteration before doing it backwards. Essentially, this lets me control the distance that the platform travels. PURPLE: There is a hitbox on top of the platform and when the player enters it, I have the platform actor continually loop through a function which lerps its actor location. Whenever the player jumps off, I lerp back to the original starting location of the platform RED: The hitbox on top of the platform now enables gravity for the actor and lerps between two colors (the default gray and red, and the new black). After an amount of time (which is a public variable exposed to the bp), I lerp the location back to its default.
0 Comments
Leave a Reply. |
AuthorOur genius Reky Studios blogger extraordinaire, mmmmGoodDinner. Archives
August 2019
Categories
All
|