Whip Dynamics - Tokamak?
Blitz3D Forums/Blitz3D Programming/Whip Dynamics - Tokamak?| 
 | ||
| Anyone had any experience in creating a whip using tokamak? I've seen the whipdemo in the showcase, but no source code in there. Just thought I'd ask before re-inventing the wheel. Any help greatfully appreciated. | 
| 
 | ||
| I would say that there is no difference in creating a whip to creating a simple rope except that the first 2 rigid bodies are further apart to create the "handle" and are connected by a fixed joint. The flexible part is just a series of rigid bodies more closely spaced and connected by ball joints. | 
| 
 | ||
| I would think that any demo chowing a chain link would be useful here. Tokamak definately supports such a link too. IPete2. | 
| 
 | ||
| Here's a nice rope program: http://playerfactory.proboards25.com/index.cgi?board=tokamak2&action=display&thread=1090192420 I did some further tweaking which never was posted, so I'll try to dig that up... | 
| 
 | ||
| @Ricky Ok. Additionally, I would of thought that as you progress towards the thinner end of the whip it would become more flexible - giving it the whip style dynamics. @Mr Picklesworth Thanks for that, will give it a try. Thanks for all your help. | 
| 
 | ||
| Ahah, this is maybe what I need to change the flexibility. TOKJOINT_SetDampingFactor joint,30.0 |