Skip to content
Permalink
Browse files

Static Mesh: Update shape factories

  • Loading branch information
Eideren committed Dec 21, 2018
1 parent cbcc27d commit 5c11f1f2ac1eb34042a7e767085d2f9c47b42e04
@@ -95,4 +95,17 @@ public override ColliderShapeAsset New()
return Create();
}
}

public class ColliderShapeStaticMeshFactory : AssetFactory<ColliderShapeAsset>
{
public static ColliderShapeAsset Create()
{
return new ColliderShapeAsset { ColliderShapes = { new StaticMeshColliderShapeDesc() } };
}

public override ColliderShapeAsset New()
{
return Create();
}
}
}
@@ -1,7 +1,6 @@
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.

using System;
using System.Collections.Generic;
using Xenko.Core;
using Xenko.Core.Mathematics;

0 comments on commit 5c11f1f

Please sign in to comment.
You can’t perform that action at this time.