cassius Posted March 14, 2010 Share Posted March 14, 2010 I rember in le 1.13 there was an example of a rope implementation. Is this still feasible in le 2.31? Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
DaDonik Posted March 14, 2010 Share Posted March 14, 2010 When i remember correctly, that demo was made using balljoints to link the rope parts together. I hacked something together for you: DebugPhysics (1); TBody LastBody = NULL; TVec3 Vec3Pos = Vec3 (0.0F); for (int i = 0; i < 10; i++) { Vec3Pos = Vec3 (0.0F, 0.0F, (float)i * 6.0F); TBody NewBody = CreateBodyBox (0.5F, 0.5F, 5.0F, 0); SetBodyMass (NewBody, 1.0F); EntityType (NewBody, 1, 0); PositionEntity (NewBody, Vec3Pos, 0); if (NULL != LastBody) { TJoint NewJoint = CreateJointBall (NewBody, LastBody, Vec3 (0.0F, 0.0F, Vec3Pos.Z * 0.5F), Vec3 (0.0F, 0.0F, 1.0F)); SetBallJointLimits (NewJoint, 2.0F, 0.0F, 0.0F); SetJointCollisionMode (NewJoint, 0); } LastBody = NewBody; } Far from ideal, but it has some kind of a rope structure Quote (Win7 64bit) && (i7 3770K @ 3,5ghz) && (16gb DDR3 @ 1600mhz) && (Geforce660TI) Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 23, 2010 Share Posted March 23, 2010 Nice Dadonik, I am going to try to make a Lua variant on this. Thanks Quote Link to comment Share on other sites More sharing options...
Michael Betke Posted March 23, 2010 Share Posted March 23, 2010 Aggror I would really appreciate if you share the .lua once you did one. Quote Pure3d Visualizations Germany - digital essences AAA 3D Model Shop specialized on nature and environments Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 23, 2010 Share Posted March 23, 2010 I will share it ofcourse, but try not to get your hopes up to high. most of my projects never see the daylight. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.