Canardia Posted August 5, 2011 Share Posted August 5, 2011 Since the joints are always getting out of position, I thought the reason might be that the hardcoded joint stiffness in LE2 is way too low. So, to try better joints, LE2 should have the following command: void NewtonJointSetStiffness( const NewtonJoint* joint, dFloat stiffness) Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Road Kill Kenny Posted August 5, 2011 Share Posted August 5, 2011 I agree. We need this to stop the joints from stretching then rope of different stretchiness, and many other things, would become possible. At the moment I have a wrecking ball that seems to be hanging of an elastic band . Quote STS - Scarlet Thread Studios AKA: Engineer Ken Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now! Link to comment Share on other sites More sharing options...
Canardia Posted August 6, 2011 Author Share Posted August 6, 2011 It actually exists in the engine, I only tried to use the procedural command in Lua which doesn't exist. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Road Kill Kenny Posted August 6, 2011 Share Posted August 6, 2011 Yes I know it exists..... But it doesn't seem to have an effect. I use it on my rope class but the joints still stretch I use it as shown below but it doesn't seem to make a difference: TJoint segJoint = CreateJointBall(ropeBodySegs[i-1], ropeBodySegs[i], Vec3(segPos.X, segPos.Y, segPos.Z+(segLength/2)), Vec3(0,0,0)); SetBallJointLimits(segJoint, 0,180,180); SetJointStiffness(segJoint,1); Quote STS - Scarlet Thread Studios AKA: Engineer Ken Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now! Link to comment Share on other sites More sharing options...
L B Posted November 5, 2011 Share Posted November 5, 2011 This is marked as [sOLVED]; how did you solve it? 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.