Forum > Coding >

Calculate where to shoot with gravity

tar

CoolNickname

Posts: 119

Threads: 11

Joined: Jul, 2021

Reputation: 1

Posted

I was scripting for shooter game and everything was perfect. But, bullets effected by gravity, so script cant really shoot to enemy. I am not good at physics, how can i calculate point where player should look for hit enemy.

 

https://imgur.com/a/Y3QlbOP

  • 0

Added

@53326thanks but i am still not sure how can i calculate point after finding out how bullet gravity works

  • 0

Added

@53326oh thx

  • 0

https://imgur.com/a/oOomuUo

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )