I'm trying to make some basic cutscenes for my game, moving the camera sround to show stuff happening. Certain conditions are triggered when the camera reached a specified position. I'm trying to lerp from the previous camera position (in this specific example, camera.X = 470), at which time the next sequence of the cutscene triggers. However, for some reason, the lerp stops at 470.00000000006, so the event is never triggered.
Is there any way around this? I have pixel rounding enabled in project settings, which I figured would prevent this, but I guess not. Any help would be appreciated.