using UnityEngine;
using Space = BEPUphysics.Space;

namespace Plugins.JNGame.BepuPhysics
{
    public class JNBepuPhysics1
    {
        
        public Space Space { get; protected set; }
        
        public JNBepuPhysics1(int index = 0)
        {
            Debug.Log($"初始化物理引擎");
            Space = new Space();
        }
        
        
        //更新
        public void OnUpdate(float dt)
        {
            Space.Update(dt);
        }
    }
}