Iam making a tower defense game like anime adventures, iam updating the client with the units position, but send CFRAME and the unit ID for a lot of units like 100 is a bit costly, i want to know how can i bit pack the cframe the max i can.
You could probably encode the position (4*3 bytes) and encode the Y orientation (assuming your enemies only face one direction, 2 byes if using degrees). You might be able to calculate the Y rotation on the client with the enemies last position, which would save those 2 bytes. Do all this with a buffer.