I would like to know what are the formulas used to calculate the angular velocity of a circular body after a collision with a wall. I'm developing a Peggle-style game using Unity3D and at some point I need to simulate the physics by myself.
I managed to get a pretty decent approximation for the resulting linear velocity and position, but I'm still struggling to calculate the angular velocity. I found some formulas and tried them all, but the results I'm getting are nothing close to what Unity sets to the rigidbody if I let the physics engine do its own thing. I followed this http://www2.physics.umd.edu/~mfuhrer/course/spr02/AJP/AJP00482.pdf approach, implementing formula number 7 with no luck at all. Values are not even linearly dependent, so I assume it is not a matter of units of measurement. What am I missing here?
Thanks for your time
Here's the place to get help and discuss features. The focus is on the C++ version, but generic questions are welcome.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest