I'm a programmer and I'm trying to create a physically accurate game. I'm not an expert on physics so if I'm missing the correct terms please excuse me.
What I'm trying to do is to simulate an arrow hitting and deflecting off a wall
So imagine an arrow and an impulse is applied to it on any point. I need to find out how much of that impulse will cause the arrow to rotate and how much of it to translate seperately.
I know the rotational kinetic energy is (1/2) I w^2 and I for a rod is (1/12) M L^2 around the center but I'm not sure about what to do if the axis is around a point between the center and the end which is the case in my game.
Also I dont know what do the rotational and translational kinetic energies add up to. All I have is a velocity change that I can equate.
Thanks in advance