Search found 11 matches

by SugarGlider
Fri Feb 07, 2020 3:57 am
Forum: Questions and Help
Topic: v2 Equivalent of StaticGroup
Replies: 1
Views: 3351

v2 Equivalent of StaticGroup

I see that in v1 there is the option for StaticGroups, but this is not part of v2. I have looked at Compound objects but they seem to be for dynamic objects only. Is this correct? What is the correct way to go about adding a compound static body in v2 or should each part just be created as an Indepe...
by SugarGlider
Sun Aug 25, 2019 10:43 pm
Forum: Questions and Help
Topic: Unexpected Capsule shape settings
Replies: 1
Views: 8398

Unexpected Capsule shape settings

Hi So, I have terrain included in my physics and also character controllers for my player avatar. Im not sure if its a bug or just me making assumptions but took me awhile to work out why characters did not stand on the terrain exactly. Turns out the capsule height must be set using the following fo...
by SugarGlider
Wed Aug 21, 2019 8:17 pm
Forum: Questions and Help
Topic: Change position of Entity
Replies: 4
Views: 9298

Re: Change position of Entity

The crash happens when i move a static mesh only dynamic are fine. It strikes a second or two after the next body collides with it. Thats when i return the static description update its pose and apply it again. If i change the static models pose using the method u gave for updating statics, the cras...
by SugarGlider
Wed Aug 21, 2019 11:49 am
Forum: Questions and Help
Topic: Change position of Entity
Replies: 4
Views: 9298

Re: Change position of Entity

Hi I'm trying to to this using v2 and i'm wondering how to do it. There is obviously no Entity.Position in v2. My code is below and it runs, the model position does get updated, but a couple of seconds after the updated item collides it crashes. I'm supprised as i see the objects collide and slide f...
by SugarGlider
Thu Aug 15, 2019 5:12 am
Forum: Questions and Help
Topic: Sync physics With Display Models
Replies: 1
Views: 7220

Sync physics With Display Models

Hello I have been looking through the demos and forums for an example of how to get a list of objects that have moved during the timestep so I can update their visual mesh couterparts. Could you point me in the right direction? The demo code is complicated and not well commented and I'm finding the ...
by SugarGlider
Wed Aug 07, 2019 3:47 pm
Forum: Questions and Help
Topic: System.Numerics.Vector3 Crash
Replies: 8
Views: 11120

Re: System.Numerics.Vector3 Crash

I opened my project file in WordPad and added some of the references from your working project file and now the project will load with no problems.

Thanks for your help :)

Edit: Also copied packages.config to the project directory
by SugarGlider
Tue Aug 06, 2019 9:36 pm
Forum: Questions and Help
Topic: System.Numerics.Vector3 Crash
Replies: 8
Views: 11120

Re: System.Numerics.Vector3 Crash

The demo you provided runs ok for me. I expect that now i can fix the issues i have been having but its late here so i will try tomorrow and get back to you with the results. I am tempted to move to .NET core as i would like the crossplatform support, im used to using mono to compile a second exe fo...
by SugarGlider
Tue Aug 06, 2019 8:07 pm
Forum: Questions and Help
Topic: System.Numerics.Vector3 Crash
Replies: 8
Views: 11120

Re: System.Numerics.Vector3 Crash

I have copied the bepupysics and bepuutilities projects and referenced the projects directly rather than dlls. The problem remains, i can reference System.Numerics and get the Vector3 working in my code, but the Vector3 types in bepu objects still says it needs a reference to System.Numerics.Vectors...
by SugarGlider
Tue Aug 06, 2019 4:54 pm
Forum: Questions and Help
Topic: System.Numerics.Vector3 Crash
Replies: 8
Views: 11120

Re: System.Numerics.Vector3 Crash

So I have created an empty net4.8 project, copied the code for DemoNarrowPhaseCallbacks and DemoPoseIntegratorCallbacks, added references to BepuPhysics.dll and BepuUtilities.dll also System.Numerics.dll Now the program can see and use Vector3 but properties of BepuPhysics objects that are Vector3 a...
by SugarGlider
Tue Aug 06, 2019 3:33 pm
Forum: Questions and Help
Topic: System.Numerics.Vector3 Crash
Replies: 8
Views: 11120

Re: System.Numerics.Vector3 Crash

Thanks for the reply Norbo, I have now tried 4.7.2 and 4.8 but still getting the file not found exception. I would like to avoid .NET core if at all possible as this would mean rewriting some parts of my code and extra hassle. I will do that after I exhaust all other options. Im using VS2017 and wil...
by SugarGlider
Mon Aug 05, 2019 2:21 pm
Forum: Questions and Help
Topic: System.Numerics.Vector3 Crash
Replies: 8
Views: 11120

System.Numerics.Vector3 Crash

Hi, my game uses MonoGame and I have had to change targeting to .NET 4.6 or higher to access 'System.Numerics.Vector3' but there still appears to be issues finding this library. I have tried 4.6.1 and 4.7.1, each seems to result in a different problem. Targeting 4.6.1, the application does compile, ...