Player possesses turret instead of starting at pawn tank

Been following along with the unreal engine 4.22 coding guide and when I edit the turret or remove the pawn tank the player spawns at the turret instead.



image
image

Do you have a spring arm and camera in the BP_PawnTank? This looks like a camera positioning issue and that it probably is spawning correctly.

Yeah I have gotten a spring arm and a camera connected to the BP_PawnTank.

It almost looks as if the spring arm is collapsing because the camera is colliding with something. I would eject from the pawn when running the game and take a look at the player to see what is going on.

Also, sorry, I realised what you’re saying. I think you’ve left the flag on the turret blueprint that sets the player possession.

Sorry for the late reply but when I eject from the pawn the tank hasn’t spawned. Would you like for me to send my current version of the project

Sure, share the project and I’ll take a look. may take a few days

`Toon Tanks Broken

Got it thanks. Taking a quick look now

Hi, Fixed.

I mentioned this in my post from 8 days ago. The BP was fine but one of the turrets was set to auto-possess Player which blocks the tank from spawning. I selected all instances and ensured they were all set to disabled and it started working.

You have to remember it is possible to override settings for blueprints that are instantiated. Another solution would have been to delete all the turrets and add them in again.


ah i thought i enabled it sorry about that

1 Like

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

Privacy & Terms