How can get the player’s feet to be on top of the bike’s pedal? I have tried using the inverse kinematics code below but it is very buggy and only works correctly with the player’s hands. Is there a better IK code? Any other way of keeping the player’s feet on top of the pedals?
A good and simpler alternative to IK is ofcourse animating the leg itself,
But if your looking for better IK methods, I’d suggest @EgoMoose’s FABRIK explanation (Forwards and Backwards Reaching IK) since it’s simpler to understand and easier to implement
Also you should try checking out the CCDIK models that’ve been created by several devs under #resources, these modules allows for plug’n’play since you’ll just have to import the module and give the values of the humanoid and the part to move to, unfortunately I currently don’t have the links for that though
1 Like
Used the velocity of the bike to change the speed of the animation, then changed the cframe of the pedal based on the animation time position.