Actor movement broken after implementing FRotator in VScode



I’m currently working through implementing FRotator. After implementing it and compiling, all of my actors except 2 new ones I made based off of the same C++ class have broken and either won’t move or will shoot up to the sky.

They’re all currently not moving but were shooting up before I changed the CurrentLocation line in the else statement of the MovePlatform function. I’m thinking my problem either has to do with this or FRotator but am not sure. This problem did not show up before this lesson though which is why I am even considering FRotator as a possibility.

On line 62 you’re setting the location to the StartLocation.

Line 40 - 44 should replace what’s in the else
Line 47 can be removed.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms