XaiJu
CodeLikeMe

CodeLikeMe

patreon


CodeLikeMe posts

Unreal Melee Combat - Dodge and Evade with root motion - UE4 Tutorials #143

In this episode, I am going to show you guys how to add dodging and evading animations with root motion to the melee combat system we have been working on in unreal engine 4. I have already implemented dodging but with in place animations. I will replace them with root motion enabled dodge animations.

View Post

Unreal Melee Combat - Animations with Root Motion - UE4 Tutorials #141

In this episode, I am going to import some attack animations with root motion from mixamo and use it with the melee combat system i have developed in unreal engine 4. I am going to use the blender plugin I introduced in a previous video to add a root bone and transfer only the horizontal plane movement to the root bone, before import those animations into unreal

View Post

Unreal Melee Combat - Interrupt attack and block - UE4 Tutorials #142

In this episode, I am going to implement a way to enable blocking even when the character is in the middle of performing an attack. So , I am going to interrupt ongoing montage and enable block animation montage before finishing the attack.

View Post

Code Snippet - Get Closest Socket

Here is the function to get the closest socket for a given hit location. I have used this for spawning blood splatters on characters body

View Post

Unreal Ragdoll gone Haywire - UE4 Tutorials #140

After replacing the default mixamo skeletal with the root bone added skeletal mesh, my ragdoll has gone haywire. I am using ragdoll simulations after playing the death animation in my combat system. Today, I am going to fix those newly introduced issues in the physics asset to restore the ragdoll simulated death system.

View Post

How to add Root bone to Mixamo characters with Blender plugin - UE4 Tutorials #139

Blender Plugin : https://github.com/enziop/mixamo_converter


When It comes to root motion and mixamo characters in unreal, it never works as intended, That's because, mixamo rig doesn't have a suitable root bone to work with unreal root motion system. In a previous video,  I showed you how to add a root bone with maya and my good friend "Ultimate Phoenix" told me there is a blender plugin f...

View Post

Project Files Update - Melee combat system bug fixes

This update contains some bug fixes of the melee combat system.
#CodeLikeMe

View Post

Code Snippets - Lock on and Attack blueprints


View Post

Unreal Fixing animations after replacing skeleton - UE4 Tutorials #138

In this episode, I will update and fix all the animation issues after replacing the skeletal mesh we had with a root bone added skeletal mesh.

View Post

Unreal Replacing Mixamo Skeleton with a rootbone added skeleton - UE4 Tutorials #137

Last time we added a root bone to the mixamo skeleton in maya and modified an animation so that we can use it with the root motion system in unreal engine 4. Today, I am going to replace the current mixamo skeleton which I already have for the character and with the root bone added skeleton and implement demonstrate how to use root motion properly with mixamo animations.

View Post

How to add Root bone to Mixamo characters with maya - UE4 Tutorials #136

When It comes to root motion and mixamo characters in unreal, it never works as intended, That's because, mixamo rig doesn't have a suitable root bone to work with unreal root motion system. Today, I'll show you how to add a root bone to mixamo characters with Maya

View Post

Project Files Update - Hit reaction based on the direction of the attack

This update contain the function i have implemented in order to determine the direction the direction of the attack and play the relevat animation montage based on the direction. For example, If the character got hit from left, he will be moved to right with the hit reaction. 

View Post

How to add Root bone to Mixamo characters- UE4 Tutorials #136

When It comes to root motion and mixamo characters in unreal, it never works as intended, That's because, mixamo rig doesn't have a suitable root bone to work with unreal root motion system. Today, I'll show you how to add a root bone to mixamo characters

View Post

Unreal different footstep sound based surface type- UE4 Tutorials #135

In this video, I'll show you how to play different footstep sounds based on the surface type the character step on. For this, I will use the surface types and physical materials in unreal engine 4. There will be different surface types such as Rock, Land, Wood, Water and a suitable sound will be played based on that

View Post

Unreal change animation blueprint in runtime - UE4 Tutorials #134

Last time, we implemented the horse riding system in such a way, when player mount on the horse, a different animation blueprint will be applied to the human character to animate horse rider behavior. This time, When the rider dismount the horse, old onfoot animation blueprint should be switched back. that's what I am doing today.

View Post

Unreal Horse Riding - Placing rider foot on stirrup - UE4 Tutorials #133

In this tutorial, I am going to show you how to place the foot of the horse rider on the stirrups of horse saddle using two bone IK system in unreal engine 4. For this, I will implement a new animation blueprint for the horse rider and the animation blueprint will be switched when the human character mount the horse

View Post

Project Files Update - Root bone added character with animation fixes

This update contains the new character skeleton with the root bone and all the animations are re-imported and fixed after skeleton change

View Post

Smooth Camera Transition During Posses Character - UE4 Tutorials #132

Support my work on Patreon : https://www.patreon.com/CodeLikeMe

In this episode, I am going to make my camera transition smoother and continuous when i mount and dismount the horse. As the player mount the horse, horse character is possessed and therefore, the active camera will be changed, same thing happens when dismounting also. In current implementation, this camera change is abrupt and no continuity. I am go...

View Post

Unreal Horse Riding - Turning the horse - UE4 Tutorials #131

Support my work on Patreon : https://www.patreon.com/CodeLikeMe

In this episode, I am going to fix the problem of sliding the front legs of the horse when i try to turn while riding the horse. This kills the natural look locomotion of the horse. I am going to make the horse go in a curved path instead of directly rotating to the desired direction.

View Post

Unreal Horse IK 2 - UE4 Tutorials #130

In this episode, I am going to implement Leg IK based foot placement system for the horse to make sure all 4 legs are properly placed on ground when the horse is on an uneven ground

View Post

Mixamo character model with Rootbone

Here is the fbx file of the mixamo character I am using with the rootbone added in Maya. 

View Post

Code Snippets - Physical material based footstep sound playing

Physical material based footstep sound playing snippet

View Post

Project Files Update - Different footstep sound based surface type

This update contains the physical material based footstep sound playing function

View Post

Unreal Horse IK 2 - UE4 Tutorials #130

In this episode, I am going to implement Leg IK based foot placement system for the horse to make sure all 4 legs are properly placed on ground when the horse is on an uneven ground

View Post

Unreal Melee Combat - Attack Move

I have missed the video i did on covering the attack move part and therefore I have added an explanation on that in this video. 

When the character performs an attack, there should be some quick movement towards the enemy or target direction in order to show the power or impact of the attack. In this episode, I will explain how to add some movement based on the attack animation.

View Post

IK and Jumping bug fixes - UE4 Tutorials #129

Today, I am going to fix some bugs I have in the game. 

1. character can jump again even if already in the air before landing. 

2. my human character IK system causes problems when riding the horse

View Post

Unreal Leg IK 4 - disable IK for Jumping - UE4 Tutorials #128

In my current version of IK foot placement system in unreal engine 4, We have few bugs. 

1. When there is no surface underneath the character to trace, character hip correction becomes problematic. 

2. Jumping and IK foot corrections contradicts with each other.

I am going to solve these 2 problems in today's episode.

View Post

Unreal Leg IK 3 - Fixing IK Problems - UE4 Tutorials #127

Support my work on Patreon : https://www.patreon.com/CodeLikeMe

In this episode, I am going to refine our IK system in unreal engine 4. I will completely change the way I calculate the IK alpha values and hip correction values. Also, I am going to fix the glitching of leg position occurred in last video

View Post

Unreal Leg IK 2 - Align Foot with the ground - UE4 Tutorials #126


In this episode, I am going to improve our IK foot placement system by rotating the foot to align with the underline surface. I will do this transform modify bone node in the animation blueprint and impact normal vector retrieved from a line trace direct below the foot.

View Post

Unreal Leg IK 1 - Foot Placement - UE4 Tutorials #125

Support my work on Patreon : https://www.patreon.com/CodeLikeMe

In this episode, I am going to add IK foot placement features to my melee character using Leg IK node in unreal engine animation blueprints.

View Post