I’m trying to edit the flying template and add specific behaviour for when the ship collides with the background objects.
I’m putting a breakpoint on the “Event Hit” in the flyingPawn blueprints and in the “Break Hit” node there’s all of the relevant collision data such as collision location, Normal, Impact Point, Impact Normal etc.
Is there a way to see this vector in the game window when debugging the game? this would be really helpful when debugging physics, much more than using the watch value option.
Try using the function DrawDebugLine, you can use that to draw lines between any two 3D world positions. You can specify the line thickness and how long it should stay on screen, so for example you can render the line every frame or render it once and tell it to stay visible for three seconds.