public virtual void SetMotion(Vector3 motion) { SetEntityMotionPacket pk = new SetEntityMotionPacket(); pk.EntityRuntimeId = this.EntityID; pk.Motion = motion; this.AsyncSendPacketViewers(pk); }
protected void BoradcastMotion() { SetEntityMotionPacket pk = new SetEntityMotionPacket { EntityRuntimeId = this.EntityID, Motion = this.GetMotion() }; this.SendPacketViewers(pk); }
public override void SetMotion(Vector3 motion) { SetEntityMotionPacket pk = new SetEntityMotionPacket(); pk.EntityRuntimeId = this.EntityID; pk.Motion = motion; SendPacket(pk); base.SetMotion(motion); }