1
$\begingroup$

i am trying to create an animation where a stretchy "i" bounces on a tnt switch...i thought of creating the bounce with just animation but know i have no idea on how to make the lever as in the picture react to it(move downwards as the "i" bounces)...all i need is pointers on how to do it any help will be appreciatedenter image description here

$\endgroup$
0
$\begingroup$

This can be done with rigid body physics using a generic spring constraint. You set up the constraint as an empty that controls the upper and lower bounds as well as the spriginess. I'll attach a blend file that gives an example of a ball falling onto a spring board that bounces up and down on a spring. It should serve as a guide for what you want to do.

rigid body - spring plate.blend

EDIT: In the example, I have an empty that points to the top and bottom plates of the spring board. The top plate is active and the bottom plate is passive. (The other parts are not rigid bodies so they could be removes with no consequence.)

enter image description here

The upper and lower bounds for the spring are set in the Limits fields for the empty (physics context window). In your case (like mine), you need to set values for the z axis, and leave the others at 0.0.

The springiness is set in the Springs fields for the empty. Again, you set the z axis and leave the others alone.

You should also toggle the Disable Collisions checkbox for the empty.

$\endgroup$
  • $\begingroup$ thanks a lot !! its exactly what i was looking for ill use your method $\endgroup$ – kofoworola Jun 22 '16 at 2:03
  • $\begingroup$ the link is to a road project blend not the spring blend and ive already marked it as correct i think :-) $\endgroup$ – kofoworola Jun 22 '16 at 2:23
  • $\begingroup$ Great! Glad to have been helpful! Please click on the button to accept this answer so I can relish in the points I'll get. $\endgroup$ – Anthony Forwood Jun 22 '16 at 2:24
  • $\begingroup$ hang on, I'll give you the right link. $\endgroup$ – Anthony Forwood Jun 22 '16 at 2:25
  • $\begingroup$ try this... drive.google.com/open?id=0B7Tlcrz9ZntGTEZaenB3bE5xMWs $\endgroup$ – Anthony Forwood Jun 22 '16 at 2:27
1
$\begingroup$

Seems like an old thread, I was trying to bounce a ball on a plane. There is bounciness property on rigid body. Changing it to more than 0 on both the bodies, result in a bounce

$\endgroup$
-1
$\begingroup$

there is an excellent tutorial on youtube of how to animate a bouncing ball. Its from a DVD series called humane rigging on youtube.

here is the tutorial for a 2D bouncing ball

and here is one for a 3D bouncing ball

$\endgroup$
  • $\begingroup$ Link-only answers are discouraged as if the link goes down then so does this answer. Please include some of the steps in the body of the answer itself. $\endgroup$ – Ray Mairlot Jun 21 '16 at 23:38
  • $\begingroup$ oh yea, that makes sense $\endgroup$ – eromod Jun 21 '16 at 23:48
  • $\begingroup$ the video looks to complex for what im trying to do all im looking for is a spring like animation i thin ill go with Anthony's answer $\endgroup$ – kofoworola Jun 22 '16 at 2:01
  • $\begingroup$ I found it while reading the blender reference manual. He worked on the Big Buck Bunny project. $\endgroup$ – eromod Jun 23 '16 at 4:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.