# Re: How can I calculate damage based on speed and direction?

Oops. I think I borked my math a little, when calculating the angle percentage I think you need to divide it by 90 total degrees and then multiply it by 100. So:

``32 degree angle / 90 total degrees = 0.355~ * 100 = 35.555~ percent``
```

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

```
• ... AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector
• ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
• ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
• ... AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector
• ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
• ... AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector
• ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
• ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
• ... AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
• ... AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
• ... AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector