mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
Keyframe stretching plus appendage manipulation
This commit is contained in:
parent
18c0473f39
commit
1af7f41d63
427 changed files with 7003 additions and 1147 deletions
|
@ -31,5 +31,34 @@ namespace RimWorldAnimationStudio
|
|||
default: return Vector3.zero;
|
||||
}
|
||||
}
|
||||
|
||||
public static Vector3 AppendageOffsetAt(string bodyType, int rotation)
|
||||
{
|
||||
if (rotation == 0 || rotation == 2)
|
||||
{
|
||||
switch (bodyType)
|
||||
{
|
||||
case "Male": return new Vector3(0.00f, 0f, -0.46f);
|
||||
case "Female": return new Vector3(0.00f, 0f, -0.51f);
|
||||
case "Thin": return new Vector3(0.00f, 0f, -0.46f);
|
||||
case "Hulk": return new Vector3(0.00f, 0f, -0.66f);
|
||||
case "Fat": return new Vector3(0.00f, 0f, -0.52f);
|
||||
default: return Vector3.zero;
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
switch (bodyType)
|
||||
{
|
||||
case "Male": return new Vector3(0.07f, 0f, -0.41f);
|
||||
case "Female": return new Vector3(0.07f, 0f, -0.47f);
|
||||
case "Thin": return new Vector3(-0.05f, 0f, -0.43f);
|
||||
case "Hulk": return new Vector3(-0.03f, 0f, -0.64f);
|
||||
case "Fat": return new Vector3(0.24f, 0f, -0.50f);
|
||||
default: return Vector3.zero;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue