Dict issue?

Ok, that’s what I meant when I asked if there would be only one function.

But still, I think you can just write

data["rigid_body_velo"] = [(1,velo_func), (2, other_func)]  # etc.

No need for the complicated type info.