for our final patch-a-day, i demonstrate how to create Inverse Kinematics (IK) with jit.phys and jit.gl.model. you can read more about IK here, but basically it allows you to pose a model using single position values, rather than by orienting each joint individually. eg, you can pose a model by positioning it’s wrist, and the elbow and shoulder angles will be calculated automatically.
you can take this even further to create an entire skeleton structure using rigid-bodies and constraints, but in this patch we just stick to the arms. there is a sub-patcher that contains the gory details for those interested brave souls.
this wraps up our physics spotlight, and i hope that you got a taste for what can be done using ole Newton’s laws. more so, i hope you got a taste for what can be done by abusing those laws. this is really the tip of the iceberg, so please dive in to these objects and show us what crazy things you come up with.
for any of you feeling confused by these patches, make sure you check out the physics-intro videos found here:
thanks for following along with us as we explored “making things bounce”, and see you on the forums!
Sep 28, 2012 at 11:21pm #232291