Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins


Solver wich advances only when input refresed. Useful for making animation.


Box2DBodiesBodiesBox2D Rigid BodiesGeneric Data
WorldBoundryBoundryDefine the boundry of the world .Simulation will still work if bodies reach the end of the world, but it will be slower.Rectangle
GravityGravityDefine the gravity vector.Vector
VelocityIterationsVelIterIn the velocity phase the solver computes the impulses necessary for the bodies to move correctly. Using fewer iterations increases performance but accuracy suffers.Integer
PositionIterationsPosIterIn the position phase the solver adjusts the positions of the bodies to reduce overlap and joint detachment. Using fewer iterations increases performance but accuracy suffers.Integer
TimestepTimestepBy using a larger time step you can improve performance in low frame rate scenarios.But generally you should use a time step no larger than 1/30 seconds.A time step of 1/60 seconds will usually deliver a high quality simulation.Number
AnimateAnimateIf false, simulation resets. If true the solution will advanced by one frame each time this input is recievedBoolean



Site design © Robin Rodricks.   Box2D and associated data © 2022 Mahdiyar Esmail Beigi.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service