3D engine that AI agents drive
{
"blender": "5.2.2 LTS",
"cases": [
{
"name": "copy_rotation_xz",
"nodes": [
{
"id": "source",
"translation": [
1,
2,
3
],
"rotation": [
20,
30,
40
]
},
{
"id": "owner",
"translation": [
0,
0,
0
],
"rotation": [
10,
5,
-15
]
}
],
"constraint": {
"type": "copy_rotation",
"node": "owner",
"target": "source",
"axes": [
"x",
"z"
]
},
"expectedOwnerWorld": [
0.7631294131278992,
0.640341579914093,
-0.08715573698282242,
0.0,
-0.5811877250671387,
0.7390071749687195,
0.34071868658065796,
0.0,
0.2825850546360016,
-0.2093586027622223,
0.9361168146133423,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "copy_rotation_all_with_parent",
"nodes": [
{
"id": "holder",
"translation": [
4,
0,
1
],
"rotation": [
0,
0,
25
]
},
{
"id": "source",
"translation": [
1,
2,
3
],
"rotation": [
-35,
20,
50
]
},
{
"id": "owner",
"parent": "holder",
"translation": [
1,
1,
0
],
"rotation": [
10,
5,
-15
]
}
],
"constraint": {
"type": "copy_rotation",
"node": "owner",
"target": "source"
},
"expectedOwnerWorld": [
0.604022741317749,
0.7198463082313538,
-0.3420201539993286,
0.0,
-0.7536054849624634,
0.37626221776008606,
-0.5389854907989502,
0.0,
-0.2592974901199341,
0.5833078026771545,
0.7697511315345764,
0.0,
4.483689308166504,
1.3289260864257812,
1.0,
1.0
]
},
{
"name": "limit_rotation_xy",
"nodes": [
{
"id": "owner",
"translation": [
0,
0,
0
],
"rotation": [
80,
70,
10
]
}
],
"constraint": {
"type": "limit_rotation",
"node": "owner",
"x": [
-45,
45
],
"y": [
-30,
30
]
},
"expectedOwnerWorld": [
0.8528684973716736,
0.15038374066352844,
-0.5,
0.0,
0.22539430856704712,
0.7577580809593201,
0.6123723983764648,
0.0,
0.47096991539001465,
-0.6349703073501587,
0.6123723387718201,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "track_to_negative_z_up_y",
"nodes": [
{
"id": "owner",
"translation": [
-1,
1,
0
]
},
{
"id": "target",
"translation": [
0.3,
1.5,
0.3
]
}
],
"constraint": {
"type": "track_to",
"node": "owner",
"target": "target",
"trackAxis": "-z",
"upAxis": "y",
"worldUp": [
0,
0,
1
]
},
"expectedOwnerWorld": [
0.35897910594940186,
-0.9333456158638,
0.0,
0.0,
-0.19652406871318817,
-0.07558618485927582,
0.977581262588501,
0.0,
-0.9124211668968201,
-0.35093122720718384,
-0.21055874228477478,
0.0,
-1.0,
1.0,
0.0,
1.0
]
},
{
"name": "track_to_positive_x_up_z",
"nodes": [
{
"id": "owner",
"translation": [
2,
-1,
0.5
],
"rotation": [
0,
0,
15
]
},
{
"id": "target",
"translation": [
-1,
3,
2
]
}
],
"constraint": {
"type": "track_to",
"node": "owner",
"target": "target",
"trackAxis": "+x",
"upAxis": "z",
"worldUp": [
0,
0,
1
]
},
"expectedOwnerWorld": [
-0.5746957063674927,
0.7662609815597534,
0.28734785318374634,
0.0,
-0.7999999523162842,
-0.5999999046325684,
0.0,
0.0,
0.17240874469280243,
-0.22987832129001617,
0.9578262567520142,
0.0,
2.0,
-1.0,
0.5,
1.0
]
},
{
"name": "child_of_follows_target_from_rest",
"nodes": [
{
"id": "target",
"translation": [
1,
2,
0
],
"rotation": [
0,
0,
30
]
},
{
"id": "owner",
"translation": [
0,
1,
0
]
}
],
"constraint": {
"type": "child_of",
"node": "owner",
"target": "target",
"inverse": "rest"
},
"pose": {
"id": "target",
"translation": [
3,
1,
2
],
"rotation": [
10,
20,
70
]
},
"expectedOwnerWorld": [
0.7308870553970337,
0.568402886390686,
-0.3777860403060913,
0.0,
-0.6231458187103271,
0.7815417051315308,
-0.029695585370063782,
0.0,
0.2783765196800232,
0.25711992383003235,
0.9254165887832642,
0.0,
2.892258882522583,
-0.34994471073150635,
2.4074816703796387,
1.0
]
},
{
"name": "child_of_half_influence",
"nodes": [
{
"id": "target",
"translation": [
1,
2,
0
],
"rotation": [
0,
0,
30
]
},
{
"id": "owner",
"translation": [
0,
1,
0
]
}
],
"constraint": {
"type": "child_of",
"node": "owner",
"target": "target",
"inverse": "rest",
"influence": 0.5
},
"pose": {
"id": "target",
"translation": [
3,
1,
2
],
"rotation": [
10,
20,
70
]
},
"expectedOwnerWorld": [
0.9301754236221313,
0.3142187297344208,
-0.1898413747549057,
0.0,
-0.3284223973751068,
0.9433184266090393,
-0.04784069210290909,
0.0,
0.1640484780073166,
0.10684843361377716,
0.980648398399353,
0.0,
1.4461294412612915,
0.3250276446342468,
1.2037408351898193,
1.0
]
},
{
"name": "floor_z_with_offset",
"nodes": [
{
"id": "ground",
"translation": [
0,
0,
0.5
]
},
{
"id": "owner",
"translation": [
0.3,
0.2,
-1
]
}
],
"constraint": {
"type": "floor",
"node": "owner",
"target": "ground",
"axis": "+z",
"offset": 0.1
},
"expectedOwnerWorld": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.30000001192092896,
0.20000000298023224,
0.6000000238418579,
1.0
]
}
]
}