You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
369 B
C#
14 lines
369 B
C#
using UnityEngine;
|
|
using UnityEditor;
|
|
using System.Collections;
|
|
|
|
namespace RootMotion.FinalIK {
|
|
|
|
public class GroundingInspector : Editor {
|
|
|
|
public static void Visualize(Grounding grounding, Transform root, Transform foot) {
|
|
Inspector.SphereCap (0, foot.position + root.forward * grounding.footCenterOffset, root.rotation, grounding.footRadius * 2f);
|
|
}
|
|
}
|
|
}
|