I've been trying to figure out how to get a unit to be able to turn, WHILE moving, WITHOUT moving sideways for a couple hours and I'm not a big . The unit has acceleration and deceleration (it would be nice if the unit was prevented from bypassing these), and has its weapons on a turret that can fire independent of movement, and should only be able to move forward in the direction it's facing. Bonus points if you can get it to dynamically choose between stopping, turning, then moving again or moving in an arc depending on which will reach the destination faster (or simply on the angle from the facing to the destination). Jackpot points if you also figure out how to get it to choose between walking backward or forward in order to keep a specified unit in front of it. The triggering for that isn't very difficult, it's the movement I can't figure out.
Here's a visual aid:
Keep in mind that this isn't just useful for my project, it would also be a very realistic way to recreate the movement of a car or any other land vehicle that can't move laterally or turn in place.
We are developing similar system if I am not wrong. I think we will submit it when we do it.
As for the explanation, someone else might explain it to you.
Who's "we"? You replied in my other thread too and it sounds like we're both working on something very similar. I'd like to hear what you guys have in mind, maybe we can brainstorm together.
I've been trying to figure out how to get a unit to be able to turn, WHILE moving, WITHOUT moving sideways for a couple hours and I'm not a big . The unit has acceleration and deceleration (it would be nice if the unit was prevented from bypassing these), and has its weapons on a turret that can fire independent of movement, and should only be able to move forward in the direction it's facing. Bonus points if you can get it to dynamically choose between stopping, turning, then moving again or moving in an arc depending on which will reach the destination faster (or simply on the angle from the facing to the destination). Jackpot points if you also figure out how to get it to choose between walking backward or forward in order to keep a specified unit in front of it. The triggering for that isn't very difficult, it's the movement I can't figure out.
Here's a visual aid:
Keep in mind that this isn't just useful for my project, it would also be a very realistic way to recreate the movement of a car or any other land vehicle that can't move laterally or turn in place.
We are developing similar system if I am not wrong. I think we will submit it when we do it. As for the explanation, someone else might explain it to you.
@tigerija: Go
Who's "we"? You replied in my other thread too and it sounds like we're both working on something very similar. I'd like to hear what you guys have in mind, maybe we can brainstorm together.
I will PM you.
We are creating similar project, but it wont be AoS. But I can help you with models, and maybe ideas. Its Mech based.