emmahogan / 225FinalProject

0 stars 0 forks source link

Momentum Issue #5

Open Timothy-Ryan opened 4 years ago

Timothy-Ryan commented 4 years ago

Dr. Teresco, I'm having some issues regarding the momentum when making smaller movements with the rope. When swinging the rope around it looks decent, but when only moving it a slight bit it seems like the bottom-most point has a habit of gaining more acceleration than it should. I don't really know what's causing this issue and Andrew and I have been trying to solve it for about an hour, so if you could help us out I'd appreciate it. I've tried employing forwards and backwards reaching inverse kinematics (labelled as FABRIK in my code) but that just seems to cause more issues without fixing this one. Thanks, Tim Ryan

jteresco commented 4 years ago

I tried it out and I think I see what you mean, though I'm not really sure what it is expected to look like. It looks like there's a sort of constructive amplification of the motion as you go down the chain. Maybe dampening that somehow?

Timothy-Ryan commented 4 years ago

I divided each segment's x and y velocity (before factoring in gravity) by their position in the array + 1, which seems to have worked for the most part. There's a new issue now though, in which the points tend to occasionally twitch downward when still. I'm not sure what could be causing that, but I'll look into it