Add sending shoulders and fix root thing
This commit is contained in:
parent
ae568e5489
commit
c1a7fc8e9f
@ -380,10 +380,12 @@ namespace Passer.Humanoid {
|
|||||||
SendSubThing(remoteHumanoid, remoteHumanoid.headTarget.neck);
|
SendSubThing(remoteHumanoid, remoteHumanoid.headTarget.neck);
|
||||||
SendSubThing(remoteHumanoid, remoteHumanoid.headTarget.head);
|
SendSubThing(remoteHumanoid, remoteHumanoid.headTarget.head);
|
||||||
|
|
||||||
|
SendSubThing(remoteHumanoid, remoteHumanoid.leftHandTarget.shoulder);
|
||||||
SendSubThing(remoteHumanoid, remoteHumanoid.leftHandTarget.upperArm);
|
SendSubThing(remoteHumanoid, remoteHumanoid.leftHandTarget.upperArm);
|
||||||
SendSubThing(remoteHumanoid, remoteHumanoid.leftHandTarget.forearm);
|
SendSubThing(remoteHumanoid, remoteHumanoid.leftHandTarget.forearm);
|
||||||
SendSubThing(remoteHumanoid, remoteHumanoid.leftHandTarget.hand);
|
SendSubThing(remoteHumanoid, remoteHumanoid.leftHandTarget.hand);
|
||||||
|
|
||||||
|
SendSubThing(remoteHumanoid, remoteHumanoid.rightHandTarget.shoulder);
|
||||||
SendSubThing(remoteHumanoid, remoteHumanoid.rightHandTarget.upperArm);
|
SendSubThing(remoteHumanoid, remoteHumanoid.rightHandTarget.upperArm);
|
||||||
SendSubThing(remoteHumanoid, remoteHumanoid.rightHandTarget.forearm);
|
SendSubThing(remoteHumanoid, remoteHumanoid.rightHandTarget.forearm);
|
||||||
SendSubThing(remoteHumanoid, remoteHumanoid.rightHandTarget.hand);
|
SendSubThing(remoteHumanoid, remoteHumanoid.rightHandTarget.hand);
|
||||||
@ -413,7 +415,7 @@ namespace Passer.Humanoid {
|
|||||||
if (debug <= HumanoidNetworking.DebugLevel.Debug)
|
if (debug <= HumanoidNetworking.DebugLevel.Debug)
|
||||||
Debug.Log("Send Thing " + humanoid.humanoidId + " nwId: " + humanoid.nwId);
|
Debug.Log("Send Thing " + humanoid.humanoidId + " nwId: " + humanoid.nwId);
|
||||||
|
|
||||||
ThingMsg.Send(client, (byte)humanoid.nwId, 0, 1);
|
ThingMsg.Send(client, 0, 1, 0);
|
||||||
//ThingMsg thingMsg = new(0, 1);
|
//ThingMsg thingMsg = new(0, 1);
|
||||||
//SendMsg(thingMsg);
|
//SendMsg(thingMsg);
|
||||||
//if (udpClient != null) {
|
//if (udpClient != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user