- #1
wedders
- 1
- 0
Hi everyone - I'm really sorry if this is in the wrong place or something, not sure where it should go!
I'm a programmer and am writing a simple physics based game. I'm utilizing an already-made, open source physics engine which handles all the collisions and interactions - I wouldn't know where to start writing my own! I've made a few edits and additions to add some features I need, but this one's got me confused.
Basically I want a flipper type mechanism (ie, pinball machine) and therefore basically need to be able to take the linear accelerations / forces acting on the object (including gravity!) and transform them into rotational velocity about a given pivot point on the object. I did A-level physics and am aware of moments and torque, but never really understood them at the time (I had trouble with the entire "Forces and Motion" paper, to be honest), and I also don't think there's any allowance for position of the pivot point other than the distance from the force acting, which doesn't seem right to me.
I've googled this a while but wasn't really sure what I was looking for, so hopefully someone can tell me I'm a fool and reiterate the moment equations, or explain otherwise!
Thanks people!
I'm a programmer and am writing a simple physics based game. I'm utilizing an already-made, open source physics engine which handles all the collisions and interactions - I wouldn't know where to start writing my own! I've made a few edits and additions to add some features I need, but this one's got me confused.
Basically I want a flipper type mechanism (ie, pinball machine) and therefore basically need to be able to take the linear accelerations / forces acting on the object (including gravity!) and transform them into rotational velocity about a given pivot point on the object. I did A-level physics and am aware of moments and torque, but never really understood them at the time (I had trouble with the entire "Forces and Motion" paper, to be honest), and I also don't think there's any allowance for position of the pivot point other than the distance from the force acting, which doesn't seem right to me.
I've googled this a while but wasn't really sure what I was looking for, so hopefully someone can tell me I'm a fool and reiterate the moment equations, or explain otherwise!
Thanks people!