Exemple #1
0
        private void MoveProxy()
        {
            var bb = BoundingBoxD.CreatePoint(Position).Inflate(0.005f);

            if (_proxyId >= 0)
            {
                Graph.Nodes.MoveProxy(_proxyId, in bb, Vector3D.Zero);
            }
            else
            {
                _proxyId = Graph.Nodes.AddProxy(in bb, this, 0);
            }
        }