Rune wrote:
> Is that what you're doing too
> or is your method more sophisticated? I didn't quite understand your
> explanation.
Actually, I spliced three graphs together so the output length follows the red
line simply using #if( ) statements (yes, I know a switch staement would be
much easier). The graph shows the length between the hip and ankle points on
the x-axis and the adjusted length of the limb on the y-axis.
The equation for the parabola is just:
y = maximum length - 1/4 * 1 / cushion * ( x - cushion - maximum
length ) ^ 2
This allowed me to set a specific zone where the limb would resist full
extension. It works pretty well based on my experiments. In one example I
tried, I just bounced the hip point straight up and down and the legs followed
the jump without snapping at all.
- Rico
Post a reply to this message
Attachments:
Download 'graph.jpg' (19 KB)
Preview of image 'graph.jpg'
![graph.jpg](/povray.binaries.animations/attachment/%3C3B181199.60BA5D%40chorus.net%3E/graph.jpg?preview=1)
|