^^ I haven’t been active lately cause of current work as always, but here’s a new log I like to share!
This time I wrote a quick messy code that basically makes the Character Controller acts like a rigidbody… kinda and not the best but it’s good enough for this minimalistic HacknSlash game. It really started as a doodle really lol
There is no rigidbody on my main character and I’m just raycasting down to check the floor’s normal angles. For sliding, I used a hackish lerp between character’s forward facing and the floor’s normal angle. There are other ways where I used the velocity of the character Y velocity to determine if it would fly and lingers that movement as it leaves the slide.
Also for the first time I wanna show you my combat system near the end ^^ really happy with the close combat system for now but I’ll show the magic parts next time. Still deciding it’s logic. Everytime an enemy get’s a skill hit, it’ll lerp it’s transform backwards depending on it’s weight and player’s power.
p.s. making the sliding reminds me of this: