I have created a Blueprint Class derived from WheeledVehicle to setup a vehicle in my own project.
I have followed all the steps in the Officiel UE4 “Overview and Car Setup” Video (Vehicles: Overview & Car Setup | 01 | v4.2 Tutorial Series | Unreal Engine - YouTube), but I cannot get it to work.
If I follow all the steps, and also create a new GameMode and assign the WheeledVehicle Blueprint as default pawn, my camera starts to go haywire for a second and then the camera is black (most probably the camera is attracted to the vehicle mesh anddisappears in it?.. no matter if the cam is on the spring arm, directly attached to the vehicle or static in the level. Even deleting the cam and relying on the default cam leads to this problem.
Now, I haven’t used a GameMode before and I am not sure I actually want to use it… so I removed it. And the camera starts to work again. But the mesh of the pawn is no longer visible.
And after further testing, same Problem as when the Pawn is set as defaultPawn in an active GameMode is actually also happening when “Auto Posess Player” is set to “Player 0”. I guess the Mesh is visible now, cannot tell as the screen goes black in seconds.
- Why is the Mesh not visible when nobody is controlling it? Is that normal behaviour of UE4?
- Why seems my camera goes haywire, even the default one, when somebody is controlling the pawn?
Thanks in advance for any help!