animating a rigidbody

im trying to experiment hitting various things with an animated rigidbody, but i just cant get it to work right.

I got a cube on the ground, which i stretch out to make it a kind of “beam”, then i rotate it round and round, and place a rigidbody cube infront of it and see what happens.

But it doesnt really make any difference what mass or drag i put on anything, or if i make the “beam” a kinematic rigidbody or not…

Am i totally off track here? Is animating a rigidbody or controlling it through ‘transform’ something taht just isnt normally done?

It should work. Your “bar” should be a kinematic rigidbody w/ a box collider. Your cube should be a rigidbody with a collider.

How fast is your bar moving? Are you using an animation or transform.Rotate? If you’re using an animation, ensure that animate physics is checked.