Non classé

Unreal Engine 4 FPS Shooter C++

It’s been some times I’m working with Unreal Engine 4, mostly with the blueprints however (they are so powerfull! ><).

When working on this tutorial I met some error in the documentation, so here is an article with the problem encountered and there resolution.

Unreal Training_1

The first part was rather easy, the only difficulty was the part in Changing the camera view which seems deprecated :

FirstPersonCameraComponent->AttachParent = CapsuleComponent;

This didn’t worked for me, I had to use the following line :

FirstPersonCameraComponent->AttachTo(GetCapsuleComponent());

Once the character set up and ready, I worked on a projectile mecanism. The most difficult part was to understand and then set up correctly the colision profile for the projectile. Once done, I played a little bit around with physics and then added some health to a MobCharacter and make it go down for each hit taken.

Unreal Training_2.PNG

And I stopped there for this tutorial. Next time, I will probably work on an infiltration system.

Publicités

Laisser un commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:

Logo WordPress.com

Vous commentez à l'aide de votre compte WordPress.com. Déconnexion / Changer )

Image Twitter

Vous commentez à l'aide de votre compte Twitter. Déconnexion / Changer )

Photo Facebook

Vous commentez à l'aide de votre compte Facebook. Déconnexion / Changer )

Photo Google+

Vous commentez à l'aide de votre compte Google+. Déconnexion / Changer )

Connexion à %s