cmm-21 / a5

0 stars 0 forks source link

Question regarding impulse based collisions #15

Closed luohwu closed 3 years ago

luohwu commented 3 years ago

Hi Dongho

For updating the angular velocity, in the following equation, we considered an additional torque (-w * Iw) due to the rotation of the object itself. image

However, in the following equation, we considered only the external torque. So, I am confused when should we do in the first way and when in the second way. image

eastskykang commented 3 years ago

Hey,

please update velocity with external F, t (tau) as well as w x I w first and then update it with impulse. so you can use wa instead of w'a for the w x I w term

luohwu commented 3 years ago

aha I see. Thanks