Hey there,
I have been looking at the frankly new IKControl that was released to control realistic movement on rigs using inverse kinematics. Instead of using modules/open-sourced code I am trying to use this new feature to create a foot-planting system e.g like the one in Phantom Forces or other featured FPS-games
My issue is I cant wrap my head around the maths behind the system I want to create using the IKControl; however I understand the concept of inverse kinematics and have a plan of how I want to lay out this system:
- Workout the direction in which the body leans then cast a ray
-
Humanoid.MoveDirection
to take into account direction player is moving - Apply a downward angle theta since raycasting to the ground
- Cast a ray downwards and the point of intersection should give a rough idea where the
Target
for the IKControl should be
I came across something like this solution in a post but I am not sure if it the best way or the most efficient so please correct me if I am wrong
Any help is appreciated