In RTS games you can drag movement arrow to rotate the troop formation.
Does anybody know the formula to make this in Construct 2?
I test the units formation movement and also want them to rotate as in the picture.
You can rotate family by 90 degrees and then every soldier by -90.
Develop games in your browser. Powerful, performant & highly capable.
I have no families. I need to calcuate the coordinates of every unit according to the angle of the arrow.