How to write aim assist code?
11 years 7 months ago #19198
by IronDuke
Very little about the game is not known to me. Any questions you got, throw them at me.
How to write aim assist code? was created by IronDuke
I know it sounds stupid. After all, there is already aim assist in the game! But what I'm trying to do is write code that will calculate the proper deflections, decide if the target area is within the gun fire radius, and finally create the shot with Sim.Create and hurl it forward.
The benefits with this are many, including implementing quad PBCs without simply having four textures, but I'm stuck on the deflection code. I have no idea how to find out the target's direction+speed ( velocity ) as well as the player's velocity in a simple, easy way. All the ways I have found include taking five more math classes.
Anyone have any ideas?
--IronDuke
The benefits with this are many, including implementing quad PBCs without simply having four textures, but I'm stuck on the deflection code. I have no idea how to find out the target's direction+speed ( velocity ) as well as the player's velocity in a simple, easy way. All the ways I have found include taking five more math classes.
Anyone have any ideas?
--IronDuke
Very little about the game is not known to me. Any questions you got, throw them at me.
Please Log in or Create an account to join the conversation.