Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
vdyn
18
Years of Service
User Offline
Joined: 16th Aug 2006
Location: lost in space
Posted: 16th Aug 2006 23:52
How do springs work? I've tried with the distance joint but the spring rate seems to do nothing (see attached code). What am I doing wrong?

Thanks

Attachments

Login to view attachments
JerBil
20
Years of Service
User Offline
Joined: 8th May 2004
Location: Somewhere along the Z axis...
Posted: 17th Aug 2006 19:29 Edited at: 17th Aug 2006 20:59
Sorry, I did not help with spring stuff, but got carried away fooling with your code.

I added mass to object 3, but not much.
If you change the variable "impulse" to something other than zero, you
probably will have to increase the mass to 100 or more and back the
camera off to see the whole thing.
Mostly, I changed the phy make distance joint line so it handles
everything on one line, and a few other changes like spheres instead
of cubes, although you can easily change those back.




Ad Astra Per Asper
vdyn
18
Years of Service
User Offline
Joined: 16th Aug 2006
Location: lost in space
Posted: 17th Aug 2006 22:20
Thanks for your help, JerBil -- that's definitely springy. Apparently the spring rate is defaulted - there's no way to change it with the single line entry. I went back and tried the multi-line construction and it just doesn't work -- would anyone from TGC care to comment on this? Some additional explanation of the max and min limits would be useful also. What I need is a compression spring element so I can build a proper vehicle....

Login to post a reply

Server time is: 2024-11-24 14:53:30
Your offset time is: 2024-11-24 14:53:30