Hello, before I work on the mega challenge I have two small issues to address:
-
With the default PlayerStart, my Tank Pawn was floating in the air. Seemingly because the Tank was spawned at the same height as the PlayerStart which had a greater height than the Tank. Simply moving the PlayerStart lower was breaking Pawn movements. I ended up shrinking the PlayerStart on the Z scale so that I could move it lower without making it overlap the floor. It does the trick but I’m curious about what would be the correct approach there, and why the instructor didn’t have this issue?
-
My second issue is that modifying the
ProjectileSpeed
uproperty in theBP_ProjectileBase
doesn’t have any incidence. Despite having the lines
ProjectileMovement->InitialSpeed = ProjectileSpeed;
ProjectileMovement->MaxSpeed = ProjectileSpeed;
in the constructor, if I inspect any spawned projectile in a paused game it shows the correct value for the ProjectileSpeed variable but both InitialSpeed and MaxSpeed are set to the hardcoded default value.
video: https://youtu.be/86CyfVZWfuc