Comments (10)
The C++/CLI compiler is trying to inline this piece of code:
http://bulletphysics.org/Bullet/BulletFull/btGImpactShape_8h_source.html#l00134
But C++/CLI can't allocate the btAABB object with proper memory alignment for SSE like C++ can. I'll try to find a workaround.
from bulletsharp.
Thank you for doing research
from bulletsharp.
GetAabb should work now. Is it possible for you to try it? Are you using the old 2.82 version because you need .NET 2.0?
To use GetVertex, you need to do more work. GetVertex requires locking the TrimeshPrimitiveManager, which is only available if you compile without the DISABLE_BVH definition in Stdafx.h. If you only need to get the vertices and not do anything fancy, then you can just use the vertices that you originally passed to the GImpactMeshShape.
This is a largely untested part of BulletSharp since it's not a typical use case. That's why there are these problems.
from bulletsharp.
I'm using the Net 4.5.
Switch to the new version is not a problem, but to a format that can use the earlier version
Problems might occur.
For now, the vertices using the GImpactMeshShape.MeshInterface.GetLockedReadOnlyVertexIndexData
To use so like there is no problem, it is used to determine the AABB.
When the problem is resolved
I want to use it.
from bulletsharp.
Can you use GetAABB In bulletsharp-x64-2.83 / Release SharpDX?
Of after calling GImpactMeshShape () in my environment
The process will be exited somewhere.
Somewhere it seems there is a problem,
It is not been able to find yet.
from bulletsharp.
Version 2.83.5 includes the fix for GetAabb.
from bulletsharp.
Hello. I'm sorry, correspondence became slow.
I tried the Version 2.83.5.
I used bulletsharp-x64-2.83.5 / Release SharpDX.
We've created a shape in GImpactMeshShape.
After you create a shape, somewhere in the timing
Process will exit.
Whether the same phenomenon occurs at your place?
from bulletsharp.
The GImpact demo works fine:
https://github.com/AndresTraks/BulletSharp/blob/master/demos/Generic/GImpactTestDemo/GImpactTestDemo.cs
Can you share the code where you set up the GImpactMeshShape?
from bulletsharp.
We've checked for proper operation GImpactTestDemo.
There was no problem.
However, when the access to gImpactmesh.LocalBox
The process is terminated.
var minBox = trimesh.LocalBox.Min;
from bulletsharp.
Another problem is there, but GetAABB () There is no problem.
Here will and resolution.
Thank you.
from bulletsharp.
Related Issues (20)
- how to compile dll from src? HOT 1
- Hi Vb.net developer issue when I try to remove ridgid body!!! HOT 3
- Stop simulate HOT 9
- Why does BasicDemo have many errors??? HOT 2
- Bullet Physics Version Update HOT 4
- Problem with BulletSharp with Debug x64 and Release x64 HOT 2
- MultiThreadedDemo, A heap has been corrupted exception HOT 3
- Build instructions for non C++ developers HOT 2
- Link is broken for downloading x64 release HOT 1
- AccessViolationException while BulletSharp.DynamicsWorld.StepSimulation HOT 2
- Example without Demo UI
- .NET Core compatibility HOT 6
- Strange behaviour HOT 4
- UnhandledException : Removing object that is not being tracked. at Finalize() HOT 2
- btTransform wrapper HOT 4
- How can BulletSharp.dll be built as AnyCPU .dll HOT 1
- BulletSharp, OpenTK & Scale HOT 4
- Unhandled Exception on ~btGImpactMeshShape()
- C# Demo Build Issues - Consistent Versions of Dependencies? HOT 1
- Passing Through object
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bulletsharp.