11.03.2015, 15:35
I'm not mathematically minded, so I'm struggling with this one.
I'm setting up a dynamic race system, in which checkpoints and races are created entirely in-game. I have a starting checkpoint (1st CP), which players can either drive to or be teleported to via in-game invites. Regardless of how they arrive, I need to put them in a race-grid formation.
I've got the formation working dynamically (use 1st CP as center, car to left, car to right, and then behind each of those "parent" cars).
However, now I need to get that entire formation rotated as a group, and facing the second checkpoint. This feel really complicated, and I'm not sure how to approach it.
I'd appreciate your help!
Ash
I'm setting up a dynamic race system, in which checkpoints and races are created entirely in-game. I have a starting checkpoint (1st CP), which players can either drive to or be teleported to via in-game invites. Regardless of how they arrive, I need to put them in a race-grid formation.
I've got the formation working dynamically (use 1st CP as center, car to left, car to right, and then behind each of those "parent" cars).
However, now I need to get that entire formation rotated as a group, and facing the second checkpoint. This feel really complicated, and I'm not sure how to approach it.
I'd appreciate your help!
Ash