BEPUphysics.OtherSpaceStages.ForceUpdater.ForceUpdateableBecomingDynamic C# (CSharp) Method

ForceUpdateableBecomingDynamic() public method

Notifies the system that a force updateable is becoming dynamic.
public ForceUpdateableBecomingDynamic ( IForceUpdateable updateable ) : void
updateable IForceUpdateable Updateable changing state.
return void
        public void ForceUpdateableBecomingDynamic(IForceUpdateable updateable)
        {
            //This does not verify that it used to be kinematic.  Small room for unsafety.
            if (updateable.ForceUpdater == this)
            {
                dynamicObjects.Add(updateable);
            }
            else
                throw new Exception("Updateable does not belong to this manager.");
        }
        /// <summary>