Physics/Geometry Calculation
Posted: Sat Apr 29, 2017 3:32 am
Welp, I've been working on a game for about 3 months now (After spending 2 months making several tiny projects to get used on Game Developing and LÖVE); and this is really the first time I decide to go on the forums and ask a question so I'm not sure if this is even the correct place to ask this. Anyway...
We all know the love.physics module; and we all know (As explicitly said in the wiki) it's a "Ten-ton hammer designed for heavy-lifting (er...hammer...lifting?)"; so naturally I decided to make my own (partially) physics implementation
I used HC to save me the trouble of making a collision system and focus on solving those collisions; and finally here's the question:
How do I calculate force direction?, and just to make sure I use the correct method: How do I express it as a vector (specifically, coordinates)?
Any helpful input is very appreciated; and thanks in advance! Sorry if I seem like a noob.
We all know the love.physics module; and we all know (As explicitly said in the wiki) it's a "Ten-ton hammer designed for heavy-lifting (er...hammer...lifting?)"; so naturally I decided to make my own (partially) physics implementation
I used HC to save me the trouble of making a collision system and focus on solving those collisions; and finally here's the question:
How do I calculate force direction?, and just to make sure I use the correct method: How do I express it as a vector (specifically, coordinates)?
Any helpful input is very appreciated; and thanks in advance! Sorry if I seem like a noob.