Exemple #1
0
        internal virtual void OnCreate()
        {
            if (_isCreated)
            {
                return;
            }

            StateTracker.AddBlob(this);
            Body       = _physics.CreateBody(this, Radius, Mass, IsStatic);
            _isCreated = true;
        }