Skip to content

Commit 4ff7737

Browse files
committed
progress with graph-based ragdoll configuration interface
1 parent 0be60d2 commit 4ff7737

40 files changed

Lines changed: 1211 additions & 431 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
.envrc
44
post-update.dot
55
post-update.pdf
6+
fixed-post-update.dot
7+
fixed-post-update.pdf

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
(
2+
nodes: [
3+
(
4+
name: "ragdoll config",
5+
inner: {
6+
"bevy_animation_graph::nodes::const_ragdoll_config::ConstRagdollConfig": (
7+
value: (
8+
default_mode: None,
9+
mode_overrides: {},
10+
default_readback: None,
11+
readback_overrides: {},
12+
),
13+
),
14+
},
15+
),
16+
(
17+
name: "locomotion",
18+
inner: {
19+
"bevy_animation_graph::nodes::graph_node::GraphNode": (
20+
graph: "animation_graphs/human_new.animgraph.ron",
21+
),
22+
},
23+
),
24+
],
25+
edges_inverted: {
26+
OutputData("pose"): NodeData("locomotion", "pose"),
27+
NodeData("locomotion", "target_speed"): InputData("target_speed"),
28+
OutputData("ragdoll_config"): NodeData("ragdoll config", "out"),
29+
OutputTime: NodeTime("locomotion"),
30+
NodeData("locomotion", "rotation_bone"): InputData("rotation_bone"),
31+
NodeData("locomotion", "Z"): InputData("Z"),
32+
NodeData("locomotion", "1"): InputData("1"),
33+
NodeData("locomotion", "target_direction"): InputData("target_direction"),
34+
},
35+
default_parameters: {
36+
"rotation_bone": EntityPath([
37+
"metarig",
38+
"spine",
39+
]),
40+
"Z": Vec3((0.0, 0.0, 1.0)),
41+
"target_direction": Vec3((1.0, 0.0, 0.0)),
42+
"target_speed": F32(0.0),
43+
"1": F32(1.0),
44+
},
45+
input_times: {},
46+
output_parameters: {
47+
"ragdoll_config": RagdollConfig,
48+
"pose": Pose,
49+
},
50+
output_time: Some(()),
51+
extra: (
52+
node_positions: {
53+
"ragdoll config": (44.128906, 327.39453),
54+
"locomotion": (43.117188, -5.1875),
55+
},
56+
input_position: (-280.8789, -4.265625),
57+
output_position: (368.76953, 156.24219),
58+
input_param_order: {
59+
"rotation_bone": 2,
60+
"Z": 1,
61+
"target_direction": 0,
62+
"target_speed": 3,
63+
"1": 4,
64+
},
65+
input_time_order: {},
66+
output_data_order: {
67+
"ragdoll_config": 1,
68+
"pose": 0,
69+
},
70+
output_pose_order: {},
71+
),
72+
)

0 commit comments

Comments
 (0)