Garry's Mod

Garry's Mod

9,498 értékelés
IK Foot
6
4
2
2
   
Díjazás
Kedvenc
Kedvenc
Törlés
Content Type: Addon
Addon Type: Effects
Addon Tags: Scenic, Realism
Fájlméret:
Közzétéve:
Frissítve:
1.921 KB
2018. dec. 28., 5:45
2018. dec. 29., 16:08
2 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
IK Foot

Leírás
This addon simulates Inverse Kinematics algorithm for player legs, like on NPC legs.

Features
  • Realistic legs behavior
  • Сompatibility with any animations.

Client console commands
  • player_ik_foot
    - enable/disable inverse kinematic for foot. 1 – on, 0 – off (def. 1)
  • player_ik_foot_lean
    - enable/disable player movement with additional leaning. 1 – on, 0 – off (def. 0)
  • player_ik_foot_ground_distance
    - max collision distance feet with an obstacle. (def. 45)
  • player_ik_foot_smoothing
    - animation smoothing. (def. 17)
  • player_ik_foot_debug
    - enable/disable display debug tools. 1 – on, 0 – off (def. 0)

Warning!
This is not a complete implementation IK, due to problems with bones manipulation and need to support custom animations - all calculations are approximate. Because of this, the algorithm may work incorrectly in some places. Fortunately, probability of this is minimal.