You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

59 lines
1.8 KiB

{
"scene_type": "distance_barrier_rb_problem",
"solver": "ipc_solver",
"timestep": 0.01,
"max_time": 10,
"rigid_body_problem": {
"coefficient_restitution": -1,
"gravity": [0, 0, 0],
"rigid_bodies": [{
"mesh": "plane.obj",
"position": [-2, 0, 0],
"rotation": [0, 0, 90],
"linear_velocity": [1, 0, 0],
"force": [1e6, 0, 0],
"is_dof_fixed": [false, true, true, true, true, true],
"group_id": 0
}, {
"mesh": "plane.obj",
"position": [2, 0, 0],
"rotation": [0, 0, -90],
"linear_velocity": [-1, 0, 0],
"force": [-1e6, 0, 0],
"is_dof_fixed": [false, true, true, true, true, true],
"group_id": 0
}, {
"mesh": "plane.obj",
"position": [0, -2, 0],
"rotation": [0, 0, 0],
"linear_velocity": [0, 1, 0],
"force": [0, 1e6, 0],
"is_dof_fixed": [true, false, true, true, true, true],
"group_id": 0
}, {
"mesh": "plane.obj",
"position": [0, 2, 0],
"rotation": [0, 0, 0],
"linear_velocity": [0, -1, 0],
"force": [0, -1e6, 0],
"is_dof_fixed": [true, false, true, true, true, true],
"group_id": 0
}, {
"mesh": "cube.obj",
"position": [0, 0, 0],
"rotation": [32, 247, 53]
}, {
"mesh": "cube.obj",
"position": [-1, 0, -2],
"rotation": [13, 111, 111]
}, {
"mesh": "cube.obj",
"position": [0.5, -1, -2],
"rotation": [94, 23, 161]
}, {
"mesh": "cube.obj",
"position": [1, 1, 1],
"rotation": [76, 57, 172]
}]
}
}