fix angular spring hz def

This commit is contained in:
jacob 2025-05-19 14:00:48 -05:00
parent 6c8017b97f
commit 8062529c72

View File

@ -746,7 +746,7 @@ struct phys_mouse_joint phys_mouse_joint_from_def(struct phys_mouse_joint_def de
res.point_local_end = def.point_local_end; res.point_local_end = def.point_local_end;
res.linear_spring_hz = def.linear_spring_hz; res.linear_spring_hz = def.linear_spring_hz;
res.linear_spring_damp = def.linear_spring_damp; res.linear_spring_damp = def.linear_spring_damp;
res.angular_spring_hz = def.linear_spring_hz; res.angular_spring_hz = def.angular_spring_hz;
res.angular_spring_damp = def.angular_spring_damp; res.angular_spring_damp = def.angular_spring_damp;
res.max_force = def.max_force; res.max_force = def.max_force;
return res; return res;