Summary
The moving platform tutorial has a bug when calculating the scale. The platforms grow in size since the scale keyframes are not calculated in delta correctly.
The calculation from the tutorial in GetDeltaTransform():
Scale := VectorOnes() + ((TransformTwo.Scale - TransformOne.Scale) / TransformOne.Scale)
…should be changed to:
Scale := TransformTwo.Scale - TransformOne.Scale
since it should just be the delta. Just like with the Translation calculation which is correct.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Documentation
Steps to Reproduce
The tutorial listed here:Create Platformer 02 Moving Entities Using Animations in Scene Graph in Unreal Editor for Fortnite | Fortnite Documentation | Epic Developer Community
Expected Result
Platform moving as expected not growing while moving
Observed Result
Platform grows while moving
Platform(s)
PC
Additional Notes
The 3rd step of the tutorial has old code in the summary that does not align with step 2. Maybe someone can look into that as well.