public override ShapeBase CreateShapeInstance()
        {
            HavokConstraintChainShape shape = new HavokConstraintChainShape("Constraint Chain");

            shape.Position = EditorManager.Scene.CurrentShapeSpawnPosition;
            return(shape);
        }
        /// <summary>
        /// This function must be overridden, since we have to reset the hotspots
        /// </summary>
        /// <returns></returns>
        public override ShapeBase Clone()
        {
            HavokConstraintChainShape copy = (HavokConstraintChainShape)base.Clone();

            // Create a deep copy of the type properties
            copy._typeProperties = _typeProperties.Clone() as ConstraintChainStateBase;

            return(copy);
        }
 public override ShapeBase CreateShapeInstance()
 {
     HavokConstraintChainShape shape = new HavokConstraintChainShape("Constraint Chain");
       shape.Position = EditorManager.Scene.CurrentShapeSpawnPosition;
       return shape;
 }