예제 #1
0
 public void SyncRotation(NetVector3 rot)
 {
     transform.rotation = Quaternion.Euler(rot.Get());
 }
예제 #2
0
 public void SyncVelocity(NetVector3 v)
 {
     GetComponent<Rigidbody>().velocity = v.Get();
 }
예제 #3
0
 public void SyncPosition(NetVector3 pos)
 {
     transform.position = pos.Get();
 }
예제 #4
0
 public void SyncAngularVelocity(NetVector3 av)
 {
     GetComponent<Rigidbody>().angularVelocity = av.Get();
 }
예제 #5
0
 public GameModelData()
 {
     pos    = new NetVector3(0, 0, 0);
     rotate = new NetVector3(0, 0, 0);
 }
예제 #6
0
 public ActorMoveDirection()
 {
     direction = new NetVector3(0, 0, 0);
 }
예제 #7
0
 public PlaneFormula(NetVector3 point1, NetVector3 point2, NetVector3 point3)
 {
 }