First part of the footsteps implementation for a third person character with wwise in ue4.
Check if first person character is on floor ue4.
Click fpscharacter cpp to open the implementation file for your fpscharacter class.
At this point you should see a basic level in the main viewport window of the ue4 editor.
Add the following lines of code in the beginplay function under super beginplay to verify that fpscharacter class is being used.
We also check if the ray hit anything using the branch node.
A tutorial with blueprint examples.
Implementing multi surface footsteps for a third and first person character with wwise in unreal engine 4.
In the components panel at the top left by.
In the solution explorer of vs expand fpsproject source fpsproject.
Import the ue4 mannequin character.
Click the yellow check out button and follow the instructions to download it.
I put character alot over the floor puted the charactercontroller to the character and my movearound script.
This also saves on how many a.
So apparently you need to check the kinematic box in order for it to actually collide and make the collision.
A first person shooter needs a first person character.
There is also a character movement component that lets the character walk jump and so on.
We can see a few things the character class provides for us already.
Others see the same character in third person so two meshes are needed.
Add a third person humanoid character mesh.
A very quick tutorial on how to create a true first person perspective where you see the player s body and shadow in the world.
Use the function getplayercharacter or getplayerpawn then cast that to your character class.
It looks like you are doing an overlap event so if you are checking to see if the overlapped character is your character just cast other actor to your character class.
If the cast fails you know it wasn t your character that was overlapped.