[DISCONTINUED] Free R15 IKPF System (Inverse Kinematics Procedural Footplanting)

This is really dope. Is there a way I can make the idle stance not look like the character’s about to drop last week’s Taco Bell?

5 Likes

You can change the idle angle of the UpperLegs’ Hips.

1 Like

Seems pretty neat! Wonder if I could try making it compatible with R6
Will be a long and time consuming task, but I guess that’s the fun in scripting

2 Likes

Pretty sure you gonna have to scrap 80% of entire script, beacus most of the code is positiong those three parts of each leg.

1 Like

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