Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Geometries
Simulate
Utility

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

Inputs

NameIDDescriptionType
Box2DBodiesBodiesBox2D Rigid BodiesGeneric
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

Outputs

NameIDDescriptionType
ShapesSShapesCurve

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

Report an Issue  |  Terms of Service