FISH Functions

The type specifiers used in the FISH function signatures are given in the “FISH Type Index” section.

Ball Utilities

ball.energy(STR)
ball.find(INT)
ball.groupmap(STR<,INT>)
ball.inbox(VEC,VEC<,BOOL>)
ball.list
ball.maxid
ball.mech.ratio.avg
ball.mech.ratio.local
ball.mech.ratio.max
ball.mech.unbal.max
ball.near(VEC<,FLT>)
ball.num
ball.typeid

Ball Intrinsics

ball.contactmap(B_PNT<,INT,PNT>)
ball.contactmap.all(B_PNT<,INT,PNT>)
ball.contactnum(B_PNT<,INT>)
ball.contactnum.all(B_PNT<,INT>)
ball.create(FLT,VEC<,INT>)
ball.damp(B_PNT)
ball.delete(B_PNT)
ball.density(B_PNT)
ball.disp(B_PNT<,INT>)
ball.euler(B_PNT<,INT>)(3D ONLY)
ball.extra(B_PNT<,INT>)
ball.fix(B_PNT,INT)
ball.force.app(B_PNT<,INT>)
ball.force.contact(B_PNT<,INT>)
ball.force.unbal(B_PNT<,INT>)
ball.fragment(B_PNT)
ball.group(B_PNT<,STR>)
ball.group.remove(B_PNT,STR)
ball.id(B_PNT)
ball.isbonded(B_PNT<,INT,PNT>)
ball.isgroup(B_PNT,STR<,STR>)
ball.isprop(B_PNT,STR)
ball.mass(B_PNT)
ball.mass.real(B_PNT)
ball.moi(B_PNT)
ball.moi.real(B_PNT)
ball.moment.app(B_PNT<,INT>)
ball.moment.contact(B_PNT<,INT>)
ball.moment.unbal(B_PNT<,INT>)
ball.pos(B_PNT<,INT>)
ball.prop(B_PNT,STR)
ball.radius(B_PNT)
ball.rotation(B_PNT)(2D ONLY)
ball.spin(B_PNT<,INT>)
ball.stress(B_PNT<,INT,INT>)
ball.stress.full(B_PNT)
ball.vel(B_PNT<,INT>)
ball.vol(B_PNT)