How to transform gameObjects in array?
- by user1764781
I have an array of available gameObjects in the scene. An array of GO should be transformed according to received floats through UDP connection. I know it is simple, but can't figure it out how to accomplish the transformation an array of GO according to received unique floats for each GO, any help will be appreciated.
Here is a transformation floats, it might be helpful I guess:
x =ReadSingleBigEndian(data, signalOffset);
signalOffset+=4;
y= ReadSingleBigEndian(data, signalOffset);
signalOffset+=4;
z= ReadSingleBigEndian(data, signalOffset);
signalOffset+=4;
alpha= ReadSingleBigEndian(data, signalOffset);
signalOffset+=4;
theta= ReadSingleBigEndian(data,signalOffset);
signalOffset+=4;
phi= ReadSingleBigEndian(data,signalOffset);
signalOffset+=4;