We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
Geometries
Simulate
Utility

Box2DPolygon

Generate Box2D Polygon from Grasshopper Closed Polyline

Inputs

NameIDDescriptionType
PolylinePlBase Closed PolylineCurve
DensityDIn kilograms per square meter, used to compute the mass properties. Can be zero or positive. Set to be non-zero, so the object will be dynamic.Number
FrictionFused to make objects slide along each other realistically. Usually set to be between 0 and 1, but can be any non-negative value.Number
RestitutionRUsed to make objects bounce. Usually set to be between 0 and 1. Consider dropping a ball on a table. Zero means the ball won't bounce (inelastic collision). One means the ball's velocity will be exactly reflected (perfectly elastic collision).Number
LinearVelocityLVLinear VelocityVector
AngularVelocityAVAngular VelocityNumber

Outputs

NameIDDescriptionType
Box2DPolylineBPBox2DPolylineGeneric Data

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

Report an Issue  |  Terms of Service