Add rank, friends, fishing, and camp treasure with T2 studio models and skill presentation.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -218,8 +218,11 @@ def main():
|
||||
for i in part:
|
||||
geodesic[i]=min(geodesic[j]+(points[i]-points[j]).length for j in main)
|
||||
target=low.vertex_groups[rule['bone']];affected=[]
|
||||
# Optional normalized box: on a re-topologised mesh the same falloff can leak across the body.
|
||||
within=rule.get('within')
|
||||
for i,distance in enumerate(geodesic):
|
||||
if distance>=fade:continue
|
||||
if within and any(not within[0][c]<=points[i][c]<=within[1][c] for c in range(3)):continue
|
||||
weight=1 if distance<=full else (fade-distance)/(fade-full)
|
||||
weight=weight*weight*(3-2*weight)
|
||||
previous={g.group:g.weight for g in low.data.vertices[i].groups}
|
||||
|
||||
Reference in New Issue
Block a user