Free R15 IKPF System (Inverse Kinematics Procedural Footplanting)

It depends which part you are using.

The procedural animation (aka “The Movement Animation”) will take much longer, because it is direct manipulation of R15/RThro joints.

However, the IK portion is very easy to apply anywhere else, as the algorithm (“FABRIK”) is universal.

2 Likes

Yeah about this, any simple word explanation on how you are doing the procedural part? this is the part where I’m at after doing my own IK FABRIK system

Especially this part of the code:

		local up		=rootvelm/16
		local cycle		=up*dt*cycleSpeed
		right			=(right+cycle)%tau
		left			=(left+cycle)%tau

TL;DR:
Are you moving the target point in a circle and adjusting the circle direction based on the characters walking direction and also the floor through raycasting basically?

Any help with the units of the cycle and what is “up”

Also it’s pretty mesmerizing, tracking the “footpos” of the right leg in the gif, hope it’ll help others visualize the proccess.

Forwards:

Sideways:

5 Likes

I guess you could imagine a circle that’s been truncated with modulus.
Without the modulus or whatever, you would see that red bar moving in a perfect unit.
By flattening it, we reproduce that footstep appearance.

4 Likes

:slight_smile:

30 Likes

Lots of updates! I basically remade a majority of the module to benefit everybody.

  • OOP Programming style
  • Methods to disable, enable, destroy, modify, etc.
  • Automatic delta calculating using tick()
  • Automatic disabling for characters off-screen or far away
  • Other cleanups and minor modifications to code bits not remade

Hope you enjoy!

7 Likes

Wow, this is a unique module. I may use this in the future.

A quick question, how efficient is the replication?

2 Likes

Completely client sided, therefore completely smooth and efficient.

3 Likes

Oh I see, so every player calculates the animation for themselves. Even if the character is not theirs?
Sounds very impressive.

2 Likes

How Did you do that Looks really nice!

2 Likes

how do i make the arms move? Is there Anything i can do to make the arms move?

1 Like

You can animate them regularly.

3 Likes

Suggestion. Will you add IK for R6

2 Likes

Unlikely, since resources for that already exist.

2 Likes

How to customize?! :face_with_monocle:

2 Likes

Check the documentation for basic customization.

3 Likes

Thanks! This will help a lot!!

2 Likes

I would recommend not having to pass in the parameter “Player”, as you only need a Character. I had to modify the module just for this, because in the module, it seems you don’t really need the Player at all, and you only need the Character.
This would be beneficial in many ways.

3 Likes

Where could I find resources for r6 footplanting?

3 Likes

I don’t know. This resource can, however, be modified for R6 if you can understand the math.

2 Likes

Is there any way to make this compatible with R6?

2 Likes