AndresTraks / BulletSharp

.NET wrapper for the Bullet physics library
http://andrestraks.github.io/BulletSharp
MIT License
273 stars 59 forks source link

Why does BasicDemo have many errors??? #48

Closed ghost closed 6 years ago

ghost commented 7 years ago

Hello guys,

I really want check BasicDemo

But I have got errors. Because I already installed BulletSharp, OpenTK and SharpDX from Nuget Server and It can't resolve if I have error like concflicts: BasicDemo.cs: Matrix4 modelLookAt = body.MotionState.WorldTransform * lookat; Because it shows error Matrix4 and Matrix

Physic.cs: World.Gravity = new Vector3(0, -10, 0); error...

Vector3 localInertia = colShape.CalculateLocalInertia(mass); Conflict

and more...

How do I fix?

AndresTraks commented 7 years ago

You don't have to install Nuget packages manually. All you should have to do is compile BulletSharp.sln in Release mode and then build Demos.sln.

The Nuget package is a different version of BulletSharp: https://github.com/AndresTraks/BulletSharpPInvoke It is similar, but not compatible with the demos here.

The solutions are a bit badly organized. It's mostly because you couldn't put C++/CLI and C# projects into the same solution in early versions of Visual Studio Express. I'm thinking of ways to improve this.

ghost commented 7 years ago

Okay I will try thanks! PS: Nice idea OpenTK with BulletSharp = It is really good like Unity 3D. Nice job!