Giter Club home page Giter Club logo

bulletsharppinvoke's People

Contributors

alex----- avatar andrestraks avatar basewq avatar dimonkov avatar eideren avatar epicabsol avatar goncalo avatar maxilevi avatar thatcosmonaut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bulletsharppinvoke's Issues

HACD bad geometry

In the C# convex decomposition demo, HACD creates 40 clusters, in libbulletc, it creates 10 clusters, in BulletSharp and the original bullet demo, 8 clusters are created.

All of the input data and settings seem to be exactly the same, but the output is different. Might be a floating-point precision issue.

Demos issues

Hi,

I have same issues #1 but last reference dont work.

Spec: Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-66-generic x86_64)

For Windows all demos work fine.

lib bullet c (this) vs PhysicsClientC_API?

It seems that the bullet engine has an exposed C api... which can be used for C#. I haven't really tried to do anything with it, but, what are your thoughts about it?

Using with Paket

In my paket.dependencies file I have a line:
git https://github.com/AndresTraks/BulletSharpPInvoke.git master build: "dotnet build BulletSharp.DotNetCore.sln", source: /BulletPhysics/, OS: mono

This works and the test project compiles, however at runtime I get a DllNotFoundException for libbulletc. I think this can likely be solved with more Paket incantations, I'm just not sure what to do.

Errors in btManifoldPoint_wrap.cpp

The build is broken in the latest version of BulletSharpPInvoke libbulletc project. File btManifoldPoint_wrap.cpp refers to variables m_contactCFM and m_contactERP. but the class btManifoldPoint does not contain these members.

libbulletc question (DiscreteDynamicsWorld)

First off I'd like to mention that I think libbulletc should be in its own project as a general purpose C wrapper for Bullet. With that out of the way:

I am using libbulletc to bind Bullet to LuaJIT through FFI. Since Bullet is so huge, I am writing my API on an as-needed basis. I am currently working through Bullet's Hello World demo to get the most important bits first.

The issue I am having is with btCollisionWorld_getCollisionObjectArray. I am unsure about the data that is coming out of this function. The data type is void * but I can't iterate or look through it like a normal array. My current method of trying to cast the data seemingly works, but trying to interact with the data makes it quite obvious that there is an issue.

function DiscreteDynamicsWorld:getCollisionObjectArray()
    local ret = {} -- Lua table (think of this as an array)

    local num   = bullet.btCollisionWorld_getNumCollisionObjects(self.ct)
    local array = ffi.cast("size_t*", bullet.btCollisionWorld_getCollisionObjectArray(self.ct))

    for i=0, num-1 do
        ret[i+1] = ffi.cast("void*", array) -- Lua is 1-indexed so we need to offset this
        array = array + 1
    end

    return ret
end
local objectArray = dynamicsWorld:getCollisionObjectArray()

for j, obj in ipairs(objectArray) do
    local body = bt.RigidBody.upcast(obj) -- this returns a void * NULL
    local trans

    if body and body:getMotionState() then
        trans = body:getWorldTransform()
    else
        trans = obj:getWorldTransform()
    end
end

If you could explain what this function is supposed to be outputting and how I might be able to cast it to useful data, I would be forever in your debt. <3

GetHashCode throws system overflow exception in Win 10 x64

All the places (I found 4 places) where you do have IntPtr casts to int naturally throws system overflow exception

public override int GetHashCode()
    {
        return _native.ToInt32();
    }

I solved this with the following change:

public override int GetHashCode()
    {
        return _native.GetHashCode();
    }

I have no idea why this does not reproduce for Win 7. Is there any special reason you do not use GetHashCode() of IntPtr but prefer ToInt32() ? If not, then I suggest to use GetHashCode().

No demo code documentation.

Why is there practically no documentation for the demo code? This is suppose to be learning/review material.

compiling bulletsharp

Hi,

is there a place where I can get instructions on how to compile BulletSharp for Windows and Windows Phone?

In bulletSharpGen there's a missing DLL, libclang.dll . Removing it compiles, but I don't know what exactly does this project.

BulletSharpPInvoke project seems to compile well, but I suppose I can't use the DLL as is, I probably need the bullet library.

I also suppose that I can get the library compiling the libbulletc project, but that project is not working for me at all. There are includes like BulletCollision/CollisionDispatch/btCollisionWorld.h , however the src directory is everything in a single directory (btCollisionWorld.h is there, but it's not found because of the path)

Regards!
Kak

PersistentManifolds and Raycast callbacks cripple performance

I compiled the latest BulletSharpPInvoke for .NET3.5 by changing few function names to their .NET3.5 variants and I'm using it in Unity5 game engine. Everything is working great, except for few performance bottlenecks.

Using raycasts like e.g.

bt.ClosestRayResultCallback callback = new bt.ClosestRayResultCallback(ref from, ref to);

simWorld.RayTest(from, to, callback);

if (callback.HasHit) {
    //something
}

is causing a large cpu overhead and GC allocation for the callback creation, which seems to take around 5-100x the time used for the actual raycast. This same happens when creating persistent manifold objects and manifold points when e.g. looping through all collisions.

Here's an image from the profiler.
r2742

As far as I know it's not possible to reuse these callback/manifold objects on application level so caching is not a solution. Is there a better way to go around this?

Possible bug with arrays decorated with [out] attribute

I have been working with BulletSharpPInvoke in Unity (uses Mono instead of .Net). Overall the experience has been great but I have had problems with methods like:

btSoftBody_wrap.cpp
getLinkVertexData(SoftBody* obj, btScalar* array)

On windows these sporadically crash. Most of the time they work. If I switch to getting positions from the nodes then it works all the time.

On iOS this method fails with memory bad access errors every time.

I switched the decorator on the array from [Out] to [In,Out]. This fixed the problem. The MSDN documentation suggests that [In, Out] is needed to receive data by passing an array into a method. https://msdn.microsoft.com/en-us/library/hk9wyw21(v=vs.110).aspx

This may be a difference between Mono and .Net.

System.NullReferenceException BulletSharpTest

Hi,
Im tried check my compilation libbulletc.dll successfull and run BulletSharpTest. In TestGCCollection()->...->NeedsCollision(ContancSensorCallback.cs)->CollisionObject.cs
function public bool CheckCollideWithOverride(CollisionObject co)
{
return btCollisionObject_checkCollideWithOverride(Native, co.Native);
}

Im got exception NullReferencesException because co is null.

When Im commented TestContactTest(dynamicObject, dynamicObject2); function in TestGCCollection() function im got 3 fail tests but success processing with "Finished!" message.

Its my mistake with bad compilation libbulletc.dll or something else?

Missing anchors for softbodies

Hi,

I used BulletSharpGen before in my application and wanted to port it to BulletSharpPInvoke. To control softbodies i appended anchors to them. This works as demonstarted in the PInvoke Demos. But the softbody class from PInvoke doesn't have the Anchors property like the BulletSharp Version of this class.
Looking at the PInvoke source shows there is no Implementation of an AlignedAnchorArray (corresponding to the AlignedLinkArray, AlignedFaceArray...)
The necessary functions are also missing libbulletc sources (like btAlignedSoftBodyAnchorArray_at and so on).

Is this on purpose? Will it be added in future releases?

BulletSharpGen fails with Bullet release (2.86)

First of all, thankts for this great project ๐Ÿ‘

The latest bullet releases has been introduced some code changes that is not compatible with the BulletSharpGen.

It fails to parse correctly this property in btDbvtBroadphase.h file:
btAlignedObjectArray< btAlignedObjectArray<const btDbvtNode*> > m_rayTestStacks;

It throws a NotImplementedException in TypeRefDefinition.cs:228. Because the TypeKind is invalid for the btAlignedObjectArray type.

What is the latest version that BulletSharpPInvoke is compatible?

Missing functions in libbulletc

Hi Andres,

First I would like to say a big thank you for all the work you have put into this. I have been using it very successfully in Unity3d for the most part it works great! I am using it for the physics the tether in my game EVA Infinity with no problems and have started an open source project to create high quality wrappers for the physics in Unity3d. Everyone who has looked at it so far is very excited.

I have been trying to get it working on iOS which requires that the libbulletc library be statically linked (Unity first translated the C# IL code to C++). When I do this 103 linker errors are generated. It appears that there are wrapper methods in the C# that are calling methods that do not exist in libbulletc. For example PersistentManifold.cs tries to call external method btPersistentManifold_delete in the dispose method. btPersistentManifold_wrap.cpp and .h do not contain the method btPersistentManifold_delete. Similarly the C# code has a whole class for: BT_BOX_BOX_TRANSFORM_CACHE which has no corresponding exported class in libbulletc.

I started working my way through these removing references to the stuff that didn't exist in libbulletc. Some of the missing functions seem harmless or to have been intentionally commented out (such as SoftBodySolver.optimize). But some of them such as btPersistentManifold_delete seems to be fairly serious omission that I think would break using the PersistentManifild class. Also removing these is a big job and I don't want to repeat it when BulletSharpPInvoke is updated. Are these problems with the wrapper generator? Would it be better to fix them there?

Please let me know if you have any thoughts on the best approach to take with this.

Thanks.

Serialization broken

Hi,

the SerializeDemo demo works correctly with different *.bullet files (like the given testFile.bullet with the falling fragmented donut in it). So deserialization works as expected.
Running the demo without a *.bullet file, creates the scene correct, but the serialization leads to a corrupt file.
Opening the created file with FileInspector only shows many empty PointerArrays.

CMake crash when trying to generate solution for libbulletc

Here is the video:
https://dl.dropboxusercontent.com/s/1zeyxal3nwcmo5t/2018-01-28_22-19-29.mp4

Crash happens on CMake 3.9.6 and CMake 3.10.2
Visual Studio 2017 also cant open CMake lists when using a feature "Open from Folder"

Update: seems like something wrong with CMakeLists.txt when binary folder is set:
https://i.imgur.com/qTEPsWA.png (take a look at path...)
Heh. Its created so many "bullet" subfolders so I even can't delete root folder :)

Unable to compule bulletsharpgen

i can compile bulletsharppinvoke, but unable to compile bulletsharpgen and libbulletc.

here are the bulletsharpgen errors

Error 1 Could not copy the file "e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpGen\libclang.dll" because it was not found. BulletSharpGen

Where can i find libclang.dll?

Bug with ConvexHullShape

The second constructor for ConvexHullShape

    public ConvexHullShape(float[] points)
        : this(points, points.Length, 3 * sizeof(float))
    {

Should be:

    public ConvexHullShape(float[] points)
        : this(points, points.Length/3, 3 * sizeof(float))
    {

The 2nd argument, number of points, needs to be length of the float array divided by three.

OpenCL Support

I am interested in getting the OpenCL pipeline to work with this project.
However, I would like to know a bit more of your own experience with trying to get that to work.

I imagine it is fairly possible to encapsulate everything that uses OpenCL into a opaque facade and use it with P/Invoke. However, this might need some manual work (which does not seems to be how this library is implemented).

So my questions are: how is this library written, is it auto-generated? If so, is it possible to auto-generate it and then patch it with the OpenCL related stuff?

Additionally, have you ever tried wrarping the OpenCL portions of the code? If so, what is missing to make it work?

I am currently looking to get this to work to generate some large-scale simulations for use as datasets on a research project.

Error compiling demos

Error 2 Cannot implicitly convert type 'BulletSharp.CollisionFilterGroups' to 'short'. An explicit conversion exists (are you missing a cast?) e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\demos\CharacterDemo\CharacterDemo.cs 157 38 CharacterDemo

Adding collision shapes and disposing them

Hi,

I would like to add collision shapes like this in the constructor. But every time I call dispose method I get memory corrupt exception. I would like to add boxshapes and custom mesh shapes to the same collection: List _collisionShapes = new List(); .

 public sealed class Solver4 : ISimulation, IDisposable {

    //Setup
    public CollisionConfiguration CollisionConfiguration { get; }
    public CollisionDispatcher Dispatcher { get; }
    public BroadphaseInterface Broadphase { get; }
    public DiscreteDynamicsWorld World { get; }


    //Custom objects
    List<CollisionShape> _collisionShapes = new List<CollisionShape>();
    List<Rhino.Geometry.Mesh> _collisionMesh = new List<Rhino.Geometry.Mesh>();
    List<Rhino.Geometry.Transform> _collisionTransform = new List<Rhino.Geometry.Transform>();
    List<float> _collisionMass = new List<float>();

    //Output
    public IList<RigidBody> Bodies = new List<RigidBody>();
    public List<Rhino.Geometry.Mesh> meshesNoTransform = new List<Rhino.Geometry.Mesh>();

    public Solver4() {
        CollisionConfiguration = new DefaultCollisionConfiguration();
        Dispatcher = new CollisionDispatcher(CollisionConfiguration);
        Broadphase = new AxisSweep3_32Bit(new Vector3(-10000, -10000, -10000), new Vector3(10000, 10000, 10000), 1024);
        World = new DiscreteDynamicsWorld(Dispatcher, Broadphase, null, CollisionConfiguration);
        World.Gravity = new Vector3(0, 0, -1.1f);
        GImpactCollisionAlgorithm.RegisterAlgorithm(Dispatcher);
    }

    public Solver4(IRigidBody[] bulletGeometry, List<Rhino.Geometry.Transform> transforms) {

        //Setup
        //Broadphase = new SimpleBroadphase();
        CollisionConfiguration = new DefaultCollisionConfiguration();
        Dispatcher = new CollisionDispatcher(CollisionConfiguration);
        Broadphase = new AxisSweep3_32Bit(new Vector3(-10000, -10000, -10000), new Vector3(10000, 10000, 10000), 1024);
        World = new DiscreteDynamicsWorld(Dispatcher, Broadphase, null, CollisionConfiguration);
        World.Gravity = new Vector3(0,0,-1.1f);
        GImpactCollisionAlgorithm.RegisterAlgorithm(Dispatcher);

        //Add collision Shapes
        if (bulletGeometry.Length > 0 && transforms.Count>0 && bulletGeometry.Length == transforms.Count) {

            int i = 0;
            foreach (var geo in bulletGeometry) {

                switch (geo.id) {
                    case (0):
                    TriangleIndexVertexArray tiva = new TriangleIndexVertexArray(geo.Indices, geo.Vertices);
                    _collisionShapes.Add(CreateGImpactShape(tiva));
                    _collisionMesh.Add(geo.rhinoMesh);
                    _collisionTransform.Add(transforms[i]);
                    _collisionMass.Add(1);//geo.mass
                    tiva.Dispose();
                    break;

                    case (1):
                    _collisionShapes.Add(new BoxShape(geo.X, geo.Y, geo.Z));
                    _collisionMesh.Add(geo.rhinoMesh);
                    _collisionTransform.Add(transforms[i]);
                    _collisionMass.Add(geo.mass);
                    
                    break;
                }
                i++;
            }

            AddCustomObjects();
        }

    }


    public void StepSimulation() {
        World.StepSimulation(1 / 60.0f);
    }

    public void Dispose() {

        this.StandardCleanup();

        if(Bodies.Count>0)
        foreach (var body in Bodies) {
            World.RemoveRigidBody(body);
            body.Dispose();
        }

        if (_collisionShapes.Count > 0) {
            foreach (var a in _collisionShapes) {
                if (a != null)
                    a.Dispose();
            }
        }
    }

    private GImpactMeshShape CreateGImpactShape(TriangleIndexVertexArray shapeData) {
        var shape = new GImpactMeshShape(shapeData);
        shape.Margin = 0;
        shape.UpdateBound();
        return shape;
    }

    private GImpactMeshShape CreateGImpactConvexDecompositionShape(TriangleIndexVertexArray shapeData) {
        //GImpactConvexDecompositionShape shape =
        //    new GImpactConvexDecompositionShape(indexVertexArrays, new Vector3(1), 0.01f);
        //shape.Margin = 0.07f;
        //shape.UpdateBound();
        //return shape;
        throw new NotImplementedException();
    }

    private void AddCustomObjects() {


        if (_collisionMass.Count > 0 ) {

            for (int i = 0; i < _collisionMass.Count; i++) {
                //int id = random.Next(0, 10) % n;
                RhinoApp.WriteLine("s");
                if (_collisionMass[i] < 0.001f) {
                    RigidBody rigidBody = PhysicsHelper.CreateStaticBody(_collisionTransform[i].ToBulletPhysicsTransform(), _collisionShapes[i], World, ref Bodies);
                    rigidBody.CollisionFlags |= CollisionFlags.KinematicObject;
                    rigidBody.ActivationState = ActivationState.DisableDeactivation;
                    meshesNoTransform.Add(_collisionMesh[i]);
                } else {
                    PhysicsHelper.CreateBody(_collisionMass[i], _collisionTransform[i].ToBulletPhysicsTransform(), _collisionShapes[i], World, ref Bodies);//
                    meshesNoTransform.Add(_collisionMesh[i]);
                }


            }
        }


    }


}

Demos not starting on Linux

I wanted to try if BulletSharpPInvoke works on Linux, but it seems like that is not the case.
I extracted bulletsharp-pinvoke-demos-0.5.zip and executed: "mono BasicDemo.exe"
in the bin directory. But the program crashes after selecting OpenTK.

The Terminal output is:
Unhandled Exception: System.DllNotFoundException: libbulletc-linux-x64.so at (wrapper managed-to-native) BulletSharp.DefaultCollisionConfiguration:btDefaultCollisionConfiguration_new () at BulletSharp.DefaultCollisionConfiguration..ctor () [0x00000] in <filename unknown>:0 at BasicDemo.BasicDemo.OnInitializePhysics () [0x00000] in <filename unknown>:0 at DemoFramework.Demo.Run () [0x00000] in <filename unknown>:0 at DemoFramework.LibraryManager.Initialize (DemoFramework.Demo demo) [0x00000] in <filename unknown>:0 at BasicDemo.Program.Main () [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libbulletc-linux-x64.so at (wrapper managed-to-native) BulletSharp.DefaultCollisionConfiguration:btDefaultCollisionConfiguration_new () at BulletSharp.DefaultCollisionConfiguration..ctor () [0x00000] in <filename unknown>:0 at BasicDemo.BasicDemo.OnInitializePhysics () [0x00000] in <filename unknown>:0 at DemoFramework.Demo.Run () [0x00000] in <filename unknown>:0 at DemoFramework.LibraryManager.Initialize (DemoFramework.Demo demo) [0x00000] in <filename unknown>:0 at BasicDemo.Program.Main () [0x00000] in <filename unknown>:0'

That seems stupid because the "Dll" libbulletc-linux-x64.so is in the same directory as the executeable.
If you have a hint why it might not work, please tell me.

Rigidy body with changing vertex positions

I would like to animate one of rigid bodies.

I basically would like to create a wavy mesh and change its z coordinate overtime
perlin-noise-terrain-mesh1

The on that landscape add some ordinary rigid bodies like cubes.

What would be a way to change a rigid body?
Would I need to remove each iteration a rigid body and add new one?
Or it is possible to manipulate vertex coordinates?

No easy way to set rotation on a rigid body

Hi Andres,

This is more of a feature request and discussion than a bug, but I don't seem to have a way to get hold of you other than the Issue form.

I only seem to be able to rotate a rigid body by: getting the world transform, creating a rotation matrix, multiplying the matricies and writing the result back to the rigidbody world transform. This feels a lot heavier than it needs to be. Is there an easier way that I am missing? What I would like is a SetRotation (Quaternion q) method in the matrix class.

I also noticed that Bullet uses the btTransform class which is a 3x3 matrix and vector rather than the full 4x4 matrix. Is there a reason BulletSharp uses Matrix instead of wrapper for btTransform?

Thanks.

Is it possible to build BulletSharpGen with mono?

I'm not experienced with this but with some googling around I got this far:

  • install mono
  • get NuGet.exe and Microsoft.Build.dll and put them in BulletSharpPInvoke/BulletSharpGen/packages/*
  • run mono --runtime=v4.0 NuGet.exe install clang.sharp in the packages folder
  • xbuild BulletSharpGen.sln

I got some warnings and errors related to the framework version v4.6.1 not being supported so I changed it to v4.5 in BulletSharpGen.csproj assuming it was just some default target when you created the project.

Now I'm stuck at these errros

DotNet/SymbolMapping.cs(1,17): error CS0234: The type or namespace name `CodeAnalysis' does not exist in the namespace `Microsoft'. Are you missing an assembly reference?
DotNet/SymbolMapping.cs(2,17): error CS0234: The type or namespace name `CodeAnalysis' does not exist in the namespace `Microsoft'. Are you missing an assembly reference?
DotNet/SymbolMapping.cs(54,9): error CS0246: The type or namespace name `Script' could not be found. Are you missing an assembly reference?

If you want to support this on linux and mac this information might give you some hints.

How can I import custom mesh to Bullet Physics Solver?

Hi,

Would it be possible to get an example how to import a custom mesh to physics solver?

Is it somehow possible to apply this example:
https://github.com/AndresTraks/BulletSharpPInvoke/blob/master/BulletSharp/demos/GImpactTestDemo/GImpactTestDemo.cs

Or it should be based on totally different setup?
(I do need any UI or display)
It is a bit difficult for me to follow it.

For now I setup the solver like this:

  public sealed class Solver : IDisposable {


        public float x = 1;
        public float y = 0.5f;
        public float z = 10;

        public float groundX = 50;
        public float groundY = 0.5f;
        public float groundZ = 50;

        private DefaultCollisionConfiguration _configuration;
        private CollisionDispatcher _dispatcher;
        private DbvtBroadphase _broadphase;
        private DiscreteDynamicsWorld _world;
        private IList<CollisionShape> _shapes = new List<CollisionShape>();
        private bool _isDisposed = false;

        public IList<RigidBody> Bodies = new List<RigidBody>();



        public Solver(float[] boxDimensions, List<Rhino.Geometry.Transform> transformations, bool inertia = true) {

            x = boxDimensions[0];
            y = boxDimensions[1];
            z = boxDimensions[2];

            _configuration = new DefaultCollisionConfiguration();
            _dispatcher = new CollisionDispatcher(_configuration);
            _broadphase = new DbvtBroadphase();
            _world = new DiscreteDynamicsWorld(_dispatcher, _broadphase, null, _configuration);

            var groundShape = new BoxShape(50, 0.5f, 50);
            _shapes.Add(groundShape);
            var ground = CreateStaticBody(groundShape);
            Bodies.Add(ground);
            _world.AddRigidBody(ground);


            var boxShape = new BoxShape(boxDimensions[0], boxDimensions[1], boxDimensions[2]);
            _shapes.Add(boxShape);

            float i = 1.0f;
            foreach (Rhino.Geometry.Transform t in transformations) {

                RigidBody box = CreateDynamicBody(boxShape, 1,t.ToBulletPhysicsTransform(), inertia);//* BulletSharp.Math.Matrix.RotationY((float)Math.PI / (4+i++))

                box.Friction = 995f;
                box.Restitution = .0000099f;
                box.SetDamping(.98f, .98f);

                Bodies.Add(box);
                _world.AddRigidBody(box);
            }


        }

Unable to compile libbulletc

Error 1 error MSB6006: "cmd.exe" exited with code 3. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 ZERO_CHECK
Error 2 error MSB6006: "cmd.exe" exited with code 3. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 libbulletc

Unable to compile BulletSharpTest

Error 1 The best overloaded method match for 'BulletSharp.CollisionWorld.RayTest(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3, BulletSharp.RayResultCallback)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\test\Program.cs 272 13 BulletSharpTest
Error 2 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\test\Program.cs 272 31 BulletSharpTest
Error 3 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\test\Program.cs 272 49 BulletSharpTest
Error 4 The best overloaded method match for 'BulletSharp.CollisionWorld.RayTest(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3, BulletSharp.RayResultCallback)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\test\Program.cs 286 13 BulletSharpTest
Error 5 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\test\Program.cs 286 31 BulletSharpTest
Error 6 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\test\Program.cs 286 49 BulletSharpTest
Error 7 The best overloaded method match for 'BulletSharp.ClosestRayResultCallback.ClosestRayResultCallback(ref BulletSharp.Math.Vector3, ref BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\test\Program.cs 408 15 BulletSharpTest
Error 8 Argument 1 must be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\test\Program.cs 408 20 BulletSharpTest
Error 9 Argument 2 must be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\test\Program.cs 408 29 BulletSharpTest

Simplest example using BulletSharp.dll

I am am trying to find an example to run bullet physics on stand alone application.

I just want to initialize a solver add few objects to BulletSharp solver.
Run a few hundread iterations and get the geometry.

Is it possible to get an example without any windows forms or UI?

Missing libclang.dll in BulletSharpGen project

Thanks for all the hard work you have put into this. I have been playing around with BulletSharpPInvoke. I can build the libbulletc and BulletSharpPInvoke projects. But the BulletSharpGen project is missing the libclang.dll file. Could this file be added to the project or a link added explaining where to get it? Thanks.

Does not compile out-of-the-box using bullet 2.87

C:\DevProjects\RTSProject\3rdParty\BulletSharp_LibC\src\btBulletFile_wrap.cpp(1): fatal error C1083: Cannot open include file: '../BulletFileLoader/btBulletFile.h': No such file or directory
C:\DevProjects\RTSProject\3rdParty\BulletSharp_LibC\src\btBulletWorldImporter_wrap.cpp(2): fatal error C1083: Cannot open include file: '../BulletFileLoader/btBulletFile.h': No such file or directory
C:\DevProjects\RTSProject\3rdParty\BulletSharp_LibC\src\btBulletXmlWorldImporter_wrap.cpp(2): fatal error C1083: Cannot open include file: 'btBulletXmlWorldImporter.h': No such file or directory
C:\DevProjects\RTSProject\3rdParty\BulletSharp_LibC\src\btBulletWorldImporter_wrap.cpp(3): fatal error C1083: Cannot open include file: 'btBulletWorldImporter.h': No such file or directory
C:\DevProjects\RTSProject\3rdParty\BulletSDK\src\BulletXmlWorldImporter\btBulletXmlWorldImporter.h(41): fatal error C1083: Cannot open include file: 'btWorldImporter.h': No such file or directory
C:\DevProjects\RTSProject\3rdParty\BulletSharp_LibC\src\btWorldImporter_wrap.cpp(6): fatal error C1083: Cannot open include file: 'btWorldImporter.h': No such file or directory

Yes, these errors can be fixed manually, but still...

Unable to compile BulletSharp.OpenTK

Error 1 The best overloaded method match for 'BulletSharp.BuSimplex1To4.AddVertex(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TetrahedronShapeExtensions.cs 12 5 BulletSharp.OpenTK
Error 2 The best overloaded method match for 'BulletSharp.ConvexHullShape.AddPoint(BulletSharp.Math.Vector3, bool)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexHullShapeExtensions.cs 12 5 BulletSharp.OpenTK
Error 3 The best overloaded method match for 'BulletSharp.RotationalLimitMotor.SolveAngularLimits(float, BulletSharp.Math.Vector3, float, BulletSharp.RigidBody, BulletSharp.RigidBody)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 12 12 BulletSharp.OpenTK
Error 4 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexHullShapeExtensions.cs 12 22 BulletSharp.OpenTK
Error 5 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TetrahedronShapeExtensions.cs 12 23 BulletSharp.OpenTK
Error 6 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 12 49 BulletSharp.OpenTK
Error 7 The best overloaded method match for 'BulletSharp.SliderConstraint.CalculateTransforms(BulletSharp.Math.Matrix, BulletSharp.Math.Matrix)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\SliderConstraintExtensions.cs 14 6 BulletSharp.OpenTK
Error 8 The best overloaded method match for 'BulletSharp.PersistentManifold.RefreshContactPoints(BulletSharp.Math.Matrix, BulletSharp.Math.Matrix)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\PersistentManifoldExtensions.cs 14 6 BulletSharp.OpenTK
Error 9 The best overloaded method match for 'BulletSharp.GhostObject.ConvexSweepTest(BulletSharp.ConvexShape, BulletSharp.Math.Matrix, BulletSharp.Math.Matrix, BulletSharp.ConvexResultCallback, float)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\GhostObjectExtensions.cs 14 6 BulletSharp.OpenTK
Error 10 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\SliderConstraintExtensions.cs 14 34 BulletSharp.OpenTK
Error 11 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\PersistentManifoldExtensions.cs 14 35 BulletSharp.OpenTK
Error 12 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\GhostObjectExtensions.cs 14 41 BulletSharp.OpenTK
Error 13 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\PersistentManifoldExtensions.cs 14 74 BulletSharp.OpenTK
Error 14 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\SliderConstraintExtensions.cs 14 76 BulletSharp.OpenTK
Error 15 Argument 3 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\GhostObjectExtensions.cs 14 92 BulletSharp.OpenTK
Error 16 The best overloaded method match for 'BulletSharp.TriangleMesh.AddTriangle(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3, BulletSharp.Math.Vector3, bool)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshExtensions.cs 16 7 BulletSharp.OpenTK
Error 17 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshExtensions.cs 16 27 BulletSharp.OpenTK
Error 18 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshExtensions.cs 16 71 BulletSharp.OpenTK
Error 19 Argument 3 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshExtensions.cs 16 115 BulletSharp.OpenTK
Error 20 The best overloaded method match for 'BulletSharp.ConvexHullShape.AddPoint(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexHullShapeExtensions.cs 20 5 BulletSharp.OpenTK
Error 21 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexHullShapeExtensions.cs 20 22 BulletSharp.OpenTK
Error 22 The best overloaded method match for 'BulletSharp.GhostObject.ConvexSweepTest(BulletSharp.ConvexShape, BulletSharp.Math.Matrix, BulletSharp.Math.Matrix, BulletSharp.ConvexResultCallback)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\GhostObjectExtensions.cs 25 6 BulletSharp.OpenTK
Error 23 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\GhostObjectExtensions.cs 25 41 BulletSharp.OpenTK
Error 24 Argument 3 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\GhostObjectExtensions.cs 25 92 BulletSharp.OpenTK
Error 25 The best overloaded method match for 'BulletSharp.ConvexShape.GetAabbNonVirtual(BulletSharp.Math.Matrix, out BulletSharp.Math.Vector3, out BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexShapeExtensions.cs 28 25 BulletSharp.OpenTK
Error 26 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexShapeExtensions.cs 28 51 BulletSharp.OpenTK
Error 27 The best overloaded method match for 'BulletSharp.TriangleMesh.AddTriangle(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3, BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshExtensions.cs 30 7 BulletSharp.OpenTK
Error 28 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshExtensions.cs 30 27 BulletSharp.OpenTK
Error 29 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshExtensions.cs 30 71 BulletSharp.OpenTK
Error 30 Argument 3 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshExtensions.cs 30 115 BulletSharp.OpenTK
Error 31 The best overloaded method match for 'BulletSharp.GhostObject.RayTest(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3, BulletSharp.RayResultCallback)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\GhostObjectExtensions.cs 36 6 BulletSharp.OpenTK
Error 32 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\GhostObjectExtensions.cs 36 22 BulletSharp.OpenTK
Error 33 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\GhostObjectExtensions.cs 36 71 BulletSharp.OpenTK
Error 34 The best overloaded method match for 'BulletSharp.TriangleMesh.FindOrAddVertex(BulletSharp.Math.Vector3, bool)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshExtensions.cs 40 12 BulletSharp.OpenTK
Error 35 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshExtensions.cs 40 36 BulletSharp.OpenTK
Error 36 The best overloaded method match for 'BulletSharp.TriangleMeshShape.LocalGetSupportingVertex(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshShapeExtensions.cs 42 12 BulletSharp.OpenTK
Error 37 The best overloaded method match for 'BulletSharp.ConvexShape.GetAabbSlow(BulletSharp.Math.Matrix, out BulletSharp.Math.Vector3, out BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexShapeExtensions.cs 42 25 BulletSharp.OpenTK
Error 38 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshShapeExtensions.cs 42 45 BulletSharp.OpenTK
Error 39 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexShapeExtensions.cs 42 45 BulletSharp.OpenTK
Error 40 The best overloaded method match for 'BulletSharp.CompoundShape.AddChildShape(BulletSharp.Math.Matrix, BulletSharp.CollisionShape)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CompoundShapeExtensions.cs 44 5 BulletSharp.OpenTK
Error 41 The best overloaded method match for 'BulletSharp.CollisionShape.GetAabb(BulletSharp.Math.Matrix, out BulletSharp.Math.Vector3, out BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CollisionShapeExtensions.cs 44 25 BulletSharp.OpenTK
Error 42 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CompoundShapeExtensions.cs 44 27 BulletSharp.OpenTK
Error 43 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CollisionShapeExtensions.cs 44 41 BulletSharp.OpenTK
Error 44 The best overloaded method match for 'BulletSharp.BroadphaseInterface.AabbTest(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3, BulletSharp.BroadphaseAabbCallback)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 47 6 BulletSharp.OpenTK
Error 45 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 47 23 BulletSharp.OpenTK
Error 46 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 47 67 BulletSharp.OpenTK
Error 47 The best overloaded method match for 'BulletSharp.VoronoiSimplexSolver.AddVertex(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3, BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\VoronoiSimplexSolverExtensions.cs 48 7 BulletSharp.OpenTK
Error 48 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\VoronoiSimplexSolverExtensions.cs 48 25 BulletSharp.OpenTK
Error 49 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\VoronoiSimplexSolverExtensions.cs 48 63 BulletSharp.OpenTK
Error 50 Argument 3 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\VoronoiSimplexSolverExtensions.cs 48 101 BulletSharp.OpenTK
Error 51 The best overloaded method match for 'BulletSharp.TriangleMeshShape.LocalGetSupportingVertexWithoutMargin(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshShapeExtensions.cs 50 12 BulletSharp.OpenTK
Error 52 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\TriangleMeshShapeExtensions.cs 50 58 BulletSharp.OpenTK
Error 53 The best overloaded method match for 'BulletSharp.ConvexInternalShape.SetSafeMargin(BulletSharp.Math.Vector3, float)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexInternalShapeExtensions.cs 55 5 BulletSharp.OpenTK
Error 54 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexInternalShapeExtensions.cs 55 27 BulletSharp.OpenTK
Error 55 The best overloaded method match for 'BulletSharp.PolyhedralConvexAabbCachingShape.GetNonvirtualAabb(BulletSharp.Math.Matrix, out BulletSharp.Math.Vector3, out BulletSharp.Math.Vector3, float)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\PolyhedralConvexShapeExtensions.cs 58 25 BulletSharp.OpenTK
Error 56 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\PolyhedralConvexShapeExtensions.cs 58 51 BulletSharp.OpenTK
Error 57 The best overloaded method match for 'BulletSharp.ConvexShape.LocalGetSupportingVertex(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexShapeExtensions.cs 60 12 BulletSharp.OpenTK
Error 58 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexShapeExtensions.cs 60 45 BulletSharp.OpenTK
Error 59 The best overloaded method match for 'BulletSharp.ConvexInternalShape.SetSafeMargin(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexInternalShapeExtensions.cs 63 5 BulletSharp.OpenTK
Error 60 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexInternalShapeExtensions.cs 63 27 BulletSharp.OpenTK
Error 61 The best overloaded method match for 'BulletSharp.ConvexShape.LocalGetSupportingVertexWithoutMargin(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexShapeExtensions.cs 68 12 BulletSharp.OpenTK
Error 62 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexShapeExtensions.cs 68 58 BulletSharp.OpenTK
Error 63 The best overloaded method match for 'BulletSharp.RigidBody.ApplyCentralForce(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 72 5 BulletSharp.OpenTK
Error 64 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 72 31 BulletSharp.OpenTK
Error 65 The best overloaded method match for 'BulletSharp.HingeConstraint.GetHingeAngle(BulletSharp.Math.Matrix, BulletSharp.Math.Matrix)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\HingeConstraintExtensions.cs 74 13 BulletSharp.OpenTK
Error 66 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\HingeConstraintExtensions.cs 74 35 BulletSharp.OpenTK
Error 67 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\HingeConstraintExtensions.cs 74 77 BulletSharp.OpenTK
Error 68 The best overloaded method match for 'BulletSharp.ConvexShape.LocalGetSupportVertexNonVirtual(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexShapeExtensions.cs 76 12 BulletSharp.OpenTK
Error 69 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexShapeExtensions.cs 76 52 BulletSharp.OpenTK
Error 70 The best overloaded method match for 'BulletSharp.RigidBody.ApplyCentralImpulse(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 80 5 BulletSharp.OpenTK
Error 71 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 80 33 BulletSharp.OpenTK
Error 72 The best overloaded method match for 'BulletSharp.ConvexShape.LocalGetSupportVertexWithoutMarginNonVirtual(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexShapeExtensions.cs 84 12 BulletSharp.OpenTK
Error 73 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\ConvexShapeExtensions.cs 84 65 BulletSharp.OpenTK
Error 74 The best overloaded method match for 'BulletSharp.CollisionObject.SetAnisotropicFriction(BulletSharp.Math.Vector3, BulletSharp.AnisotropicFrictionFlags)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\CollisionObjectExtensions.cs 87 5 BulletSharp.OpenTK
Error 75 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\CollisionObjectExtensions.cs 87 36 BulletSharp.OpenTK
Error 76 The best overloaded method match for 'BulletSharp.RigidBody.ApplyForce(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 90 6 BulletSharp.OpenTK
Error 77 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 90 25 BulletSharp.OpenTK
Error 78 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 90 67 BulletSharp.OpenTK
Error 79 The best overloaded method match for 'BulletSharp.CollisionObject.SetAnisotropicFriction(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\CollisionObjectExtensions.cs 95 5 BulletSharp.OpenTK
Error 80 The best overloaded method match for 'BulletSharp.BroadphaseInterface.RayTest(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3, BulletSharp.BroadphaseRayCallback, BulletSharp.Math.Vector3, BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 95 8 BulletSharp.OpenTK
Error 81 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 95 24 BulletSharp.OpenTK
Error 82 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\CollisionObjectExtensions.cs 95 36 BulletSharp.OpenTK
Error 83 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 95 68 BulletSharp.OpenTK
Error 84 Argument 4 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 95 123 BulletSharp.OpenTK
Error 85 Argument 5 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 95 167 BulletSharp.OpenTK
Error 86 The best overloaded method match for 'BulletSharp.RigidBody.ApplyImpulse(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 101 6 BulletSharp.OpenTK
Error 87 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 101 27 BulletSharp.OpenTK
Error 88 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 101 71 BulletSharp.OpenTK
Error 89 The best overloaded method match for 'BulletSharp.ConeTwistConstraint.SetFrames(BulletSharp.Math.Matrix, BulletSharp.Math.Matrix)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\ConeTwistConstraintExtensions.cs 108 6 BulletSharp.OpenTK
Error 90 The best overloaded method match for 'BulletSharp.BroadphaseInterface.RayTest(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3, BulletSharp.BroadphaseRayCallback)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 108 6 BulletSharp.OpenTK
Error 91 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 108 22 BulletSharp.OpenTK
Error 92 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\ConeTwistConstraintExtensions.cs 108 24 BulletSharp.OpenTK
Error 93 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\ConeTwistConstraintExtensions.cs 108 66 BulletSharp.OpenTK
Error 94 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 108 66 BulletSharp.OpenTK
Error 95 The best overloaded method match for 'BulletSharp.RigidBody.ApplyTorque(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 110 5 BulletSharp.OpenTK
Error 96 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 110 25 BulletSharp.OpenTK
Error 97 The best overloaded method match for 'BulletSharp.ConeTwistConstraint.SetMotorTarget(BulletSharp.Math.Quaternion)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\ConeTwistConstraintExtensions.cs 117 5 BulletSharp.OpenTK
Error 98 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\ConeTwistConstraintExtensions.cs 117 28 BulletSharp.OpenTK
Error 99 The best overloaded method match for 'BulletSharp.RigidBody.ApplyTorqueImpulse(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 118 5 BulletSharp.OpenTK
Error 100 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 118 32 BulletSharp.OpenTK
Error 101 The best overloaded method match for 'BulletSharp.BroadphaseInterface.SetAabb(BulletSharp.BroadphaseProxy, BulletSharp.Math.Vector3, BulletSharp.Math.Vector3, BulletSharp.Dispatcher)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 119 6 BulletSharp.OpenTK
Error 102 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 119 29 BulletSharp.OpenTK
Error 103 Argument 3 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\BroadphaseInterfaceExtensions.cs 119 73 BulletSharp.OpenTK
Error 104 The best overloaded method match for 'BulletSharp.ConeTwistConstraint.SetMotorTargetInConstraintSpace(BulletSharp.Math.Quaternion)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\ConeTwistConstraintExtensions.cs 125 5 BulletSharp.OpenTK
Error 105 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\ConeTwistConstraintExtensions.cs 125 45 BulletSharp.OpenTK
Error 106 The best overloaded method match for 'BulletSharp.RigidBody.ComputeAngularImpulseDenominator(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 126 12 BulletSharp.OpenTK
Error 107 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 126 53 BulletSharp.OpenTK
Error 108 The best overloaded method match for 'BulletSharp.SliderConstraint.SetFrames(BulletSharp.Math.Matrix, BulletSharp.Math.Matrix)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\SliderConstraintExtensions.cs 132 6 BulletSharp.OpenTK
Error 109 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\SliderConstraintExtensions.cs 132 24 BulletSharp.OpenTK
Error 110 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\SliderConstraintExtensions.cs 132 66 BulletSharp.OpenTK
Error 111 The best overloaded method match for 'BulletSharp.HingeConstraint.SetAxis(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\HingeConstraintExtensions.cs 134 5 BulletSharp.OpenTK
Error 112 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\HingeConstraintExtensions.cs 134 21 BulletSharp.OpenTK
Error 113 The best overloaded method match for 'BulletSharp.RigidBody.ComputeImpulseDenominator(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 136 13 BulletSharp.OpenTK
Error 114 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 136 47 BulletSharp.OpenTK
Error 115 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 136 87 BulletSharp.OpenTK
Error 116 The best overloaded method match for 'BulletSharp.HingeConstraint.SetMotorTarget(BulletSharp.Math.Quaternion, float)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\HingeConstraintExtensions.cs 153 5 BulletSharp.OpenTK
Error 117 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\HingeConstraintExtensions.cs 153 28 BulletSharp.OpenTK
Error 118 The best overloaded method match for 'BulletSharp.HingeConstraint.TestLimit(BulletSharp.Math.Matrix, BulletSharp.Math.Matrix)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\HingeConstraintExtensions.cs 163 6 BulletSharp.OpenTK
Error 119 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\HingeConstraintExtensions.cs 163 24 BulletSharp.OpenTK
Error 120 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\HingeConstraintExtensions.cs 163 66 BulletSharp.OpenTK
Error 121 The best overloaded method match for 'BulletSharp.TranslationalLimitMotor.SolveLinearAxis(float, float, BulletSharp.RigidBody, BulletSharp.Math.Vector3, BulletSharp.RigidBody, BulletSharp.Math.Vector3, int, BulletSharp.Math.Vector3, BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 310 15 BulletSharp.OpenTK
Error 122 Argument 4 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 310 70 BulletSharp.OpenTK
Error 123 Argument 6 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 310 122 BulletSharp.OpenTK
Error 124 Argument 8 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 310 180 BulletSharp.OpenTK
Error 125 Argument 9 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 310 233 BulletSharp.OpenTK
Error 126 The best overloaded method match for 'BulletSharp.RigidBody.GetVelocityInLocalPoint(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 336 12 BulletSharp.OpenTK
Error 127 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 336 44 BulletSharp.OpenTK
Error 128 The best overloaded method match for 'BulletSharp.RigidBody.ProceedToTransform(BulletSharp.Math.Matrix)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 352 5 BulletSharp.OpenTK
Error 129 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 352 32 BulletSharp.OpenTK
Error 130 The best overloaded method match for 'BulletSharp.CollisionWorld.ConvexSweepTest(BulletSharp.ConvexShape, BulletSharp.Math.Matrix, BulletSharp.Math.Matrix, BulletSharp.ConvexResultCallback, float)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CollisionWorldExtensions.cs 398 6 BulletSharp.OpenTK
Error 131 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CollisionWorldExtensions.cs 398 41 BulletSharp.OpenTK
Error 132 Argument 3 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CollisionWorldExtensions.cs 398 81 BulletSharp.OpenTK
Error 133 The best overloaded method match for 'BulletSharp.CollisionWorld.ConvexSweepTest(BulletSharp.ConvexShape, BulletSharp.Math.Matrix, BulletSharp.Math.Matrix, BulletSharp.ConvexResultCallback)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CollisionWorldExtensions.cs 409 6 BulletSharp.OpenTK
Error 134 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CollisionWorldExtensions.cs 409 41 BulletSharp.OpenTK
Error 135 Argument 3 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CollisionWorldExtensions.cs 409 81 BulletSharp.OpenTK
Error 136 The best overloaded method match for 'BulletSharp.CollisionWorld.RayTest(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3, BulletSharp.RayResultCallback)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CollisionWorldExtensions.cs 431 6 BulletSharp.OpenTK
Error 137 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CollisionWorldExtensions.cs 431 22 BulletSharp.OpenTK
Error 138 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Collision\CollisionWorldExtensions.cs 431 71 BulletSharp.OpenTK
Error 139 The best overloaded method match for 'BulletSharp.RigidBody.SetMassProps(float, BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 451 5 BulletSharp.OpenTK
Error 140 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 451 32 BulletSharp.OpenTK
Error 141 The best overloaded method match for 'BulletSharp.RigidBody.Translate(BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 459 5 BulletSharp.OpenTK
Error 142 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\RigidBodyExtensions.cs 459 23 BulletSharp.OpenTK
Error 143 The best overloaded method match for 'BulletSharp.Generic6DofConstraint.SetAxis(BulletSharp.Math.Vector3, BulletSharp.Math.Vector3)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 474 6 BulletSharp.OpenTK
Error 144 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 474 22 BulletSharp.OpenTK
Error 145 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 474 64 BulletSharp.OpenTK
Error 146 The best overloaded method match for 'BulletSharp.Generic6DofConstraint.SetFrames(BulletSharp.Math.Matrix, BulletSharp.Math.Matrix)' has some invalid arguments e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 485 6 BulletSharp.OpenTK
Error 147 Argument 1 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 485 24 BulletSharp.OpenTK
Error 148 Argument 2 should not be passed with the 'ref' keyword e:\Users\iJam\Source\Repos\BulletSharpPInvoke\BulletSharpPInvoke\Extensions\BulletSharp.OpenTK\Dynamics\Generic6DofConstraintExtensions.cs 485 66 BulletSharp.OpenTK

Can't CMake on Windows

Try from console and gui. Always get this error:

Selecting Windows SDK version 10.0.15063.0 to target Windows 10.0.14393.
The C compiler identification is MSVC 19.10.25019.0
The CXX compiler identification is MSVC 19.10.25019.0
Selecting Windows SDK version 10.0.15063.0 to target Windows 10.0.14393.
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
CMake Error: The source directory "OUTPUT_VARIABLE" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:37 (try_compile):
Failed to configure test project build system.
Call Stack (most recent call first):
CMakeLists.txt:2 (PROJECT)

Configuring incomplete, errors occurred!
See also "/CMakeFiles/CMakeOutput.log".

No log file in this directory.

.NET Standard / Core Support

Any desire to add a new configuration of the project, building for .NET Standard? I'd like to try out BulletSharp in a .NET Core project, but I see it doesn't support it yet. I'd be happy to help with the code / testing.

libbulletc build fails with [-Waddress-of-temporary]

Trying to make the libbulletc library as described in the wiki fails with the following error:

[ 81%] Building CXX object CMakeFiles/bulletc.dir/src/btRigidBody_wrap.cpp.o
/Users/mariusmetzger/Documents/BulletSharpPInvoke/libbulletc/src/btRigidBody_wrap.cpp:440:2: error: taking the address
      of a temporary object of type 'btQuaternion' [-Waddress-of-temporary]
        BTQUATERNION_SET(value, obj->getOrientation());
        ^                       ~~~~~~~~~~~~~~~~~~~~~
/Users/mariusmetzger/Documents/BulletSharpPInvoke/libbulletc/src/conversion.h:331:58: note: expanded from macro
      'BTQUATERNION_SET'
#define BTQUATERNION_SET(to, from) btQuaternion_copy(to, &from)
                                                         ^~~~~
1 error generated.
make[2]: *** [CMakeFiles/bulletc.dir/src/btRigidBody_wrap.cpp.o] Error 1
make[1]: *** [CMakeFiles/bulletc.dir/all] Error 2
make: *** [all] Error 2

I'm on macOS Sierra 10.12.4 with Apple LLVM version 8.1.0 (clang-802.0.42).

ConvexHullShape(float[] ) error

Hi Andres, thanks again for all your work on this. I have come across another bug. Creating a convex hull only works for very simple shapes like a cube or a tet. For larger shapes like a capsule mesh it explodes.

I was able to debug into the libbulletc.dll and it appears the problem is the "striding" parameter. The Bullet C++ code for the btConvexHullShape constructor looks like this:

btConvexHullShape ::btConvexHullShape (const btScalar* points,int numPoints,int stride) : btPolyhedralConvexAabbCachingShape ()
{
    m_shapeType = CONVEX_HULL_SHAPE_PROXYTYPE;
    m_unscaledPoints.resize(numPoints);

    unsigned char* pointsAddress = (unsigned char*)points;

    for (int i=0;i<numPoints;i++)
    {
        btScalar* point = (btScalar*)pointsAddress;
        m_unscaledPoints[i] = btVector3(point[0], point[1], point[2]);
        pointsAddress += stride;
    }

    recalcLocalAabb();

}

The "pointsAddress" pointer is sizeof(unsigned char) and is being incremented by the stride which is 3. I think the stride needs to be 3 * sizeof(float) for this to work correctly. I changed the code on the C# side to:

public ConvexHullShape(float[] points) : this(points, points.Length, 3 * sizeof(float)) { }
And the problem was fixed. Thanks again.

BvhTriangleMeshShape not disposing properly

When creating a BvhTriangleMeshShape and casting it to a CollisionShape, calling Dispose on the CollisionShape does not dispose the BvhTriangleMeshShape's MeshInterface. you need cast it back to a BvhTriangleMeshShape then call Dispose on that.

Working with 64 bit

Dear Andreas,
it is impossible for me run an AnyCpu or 64bit project with the BulletSharp Nuget package.
I can build it but runnning, at the first Bullet function call, I get this error message:
System.BadImageFormatException: 'Tentativo di caricare un programma con un formato non corretto. (Eccezione da HRESULT: 0x8007000B)'
I can however run it in AnyCpu checking prefer 32-bit.
Unfortunately this is not compatible with my project.
Can you please give me some suggestion.
Bye Paolo

Double precision support

TODO:
Create a separate branch where btScalars are double instead of float in the managed assembly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.