Search found 13 matches

by steko
Tue Mar 22, 2011 10:54 pm
Forum: Questions and Help
Topic: Collision margin in bepu 0.15.0
Replies: 5
Views: 5382

Re: Collision margin in bepu 0.15.0

nice work!

just integrated the latest changeset and everything is working now as expected. had some fun playing around with complex dynamic compound bodies. :)
by steko
Tue Mar 22, 2011 7:56 pm
Forum: Questions and Help
Topic: Cannot delete entities from space (0.15.1)
Replies: 3
Views: 4014

Re: Cannot delete entities from space (0.15.1)

Thanks for clearing that up. You're right. I'm deleting the entity when it's deferred event is fired.
I will check out the SpaceObjectBuffer but it's not a critical issue in our current development state, so I can give it another try when the next BEPU build is online.
by steko
Tue Mar 22, 2011 12:25 pm
Forum: Questions and Help
Topic: Cannot delete entities from space (0.15.1)
Replies: 3
Views: 4014

Cannot delete entities from space (0.15.1)

Hi Norbo, I need some help tracking down the following exceptions: When I remove an entity with attached eventhandler from it's Space by Space.Remove(), the following error occurs: "Collection was modified; enumeration operation may not execute." at System.ThrowHelper.ThrowInvalidOperation...
by steko
Mon Mar 21, 2011 12:07 am
Forum: Questions and Help
Topic: Collision margin in bepu 0.15.0
Replies: 5
Views: 5382

Re: Collision margin in bepu 0.15.0

I updated our engine to BEPU 0.15.0. I had to change about 20 lines and now it's working! :) I like the new API design from what i have seen so far. In BEPU 0.14.x I had some strange experience with dynamic compound bodies. This seems to be fixed now, but It seems I have to recreate my compound body...
by steko
Sun Mar 20, 2011 7:08 pm
Forum: Questions and Help
Topic: Collision margin in bepu 0.15.0
Replies: 5
Views: 5382

Collision margin in bepu 0.15.0

Hey Norbo, what happened to the collision margin? In BEPU 0.14.0 I used (Radius + CollisionMargin) * 2 to calculate the spheres diameter for drawing, now the collision margin is equal to radius and all spheres are therefore rendered in double size. I found this code in the SphereShape: //This is a c...
by steko
Fri Mar 18, 2011 11:26 pm
Forum: Questions and Help
Topic: Old Bepu Assemblies
Replies: 5
Views: 5343

Re: Old Bepu Assemblies

Thanks a lot!
by steko
Fri Mar 18, 2011 10:33 pm
Forum: Questions and Help
Topic: Old Bepu Assemblies
Replies: 5
Views: 5343

Re: Old Bepu Assemblies

uhm... is it possible to get a strong named version of the windows assembly? :)
by steko
Fri Mar 18, 2011 10:30 pm
Forum: Questions and Help
Topic: Old Bepu Assemblies
Replies: 5
Views: 5343

Re: Old Bepu Assemblies

Thanks for the fast feedback! :)
by steko
Fri Mar 18, 2011 10:04 pm
Forum: Questions and Help
Topic: Old Bepu Assemblies
Replies: 5
Views: 5343

Old Bepu Assemblies

Hi Norbo,

I need an old version of BEPU Physics but cant find any old downloads on the new codeplex site. I'm looking for the latest 0.14.x (XNA 4.0) build.

thanks for your help
steko
by steko
Tue Feb 22, 2011 8:52 pm
Forum: Questions and Help
Topic: Point intersection test
Replies: 3
Views: 3748

Re: Point intersection test

thanks, I didn't noticed the MPRToolbox class. What exactly are the differences between Toolbox and MPRToolbox? Is this MPRToolbox limited to any simulation settings?
by steko
Tue Feb 22, 2011 1:21 pm
Forum: Questions and Help
Topic: Point intersection test
Replies: 3
Views: 3748

Point intersection test

Hi Norbo, is it somehow possible to check whether a point is inside a phyiscs entity? Here is my current working code. Is there any overhead expect of the out params? Is this solution recommended? Vector3 hitLocation; Vector3 hitNormal; float t; bool isCameraInsideCone = Toolbox.RayCast(Camera.Posit...
by steko
Thu Oct 14, 2010 1:22 am
Forum: Questions and Help
Topic: NullReferenceException after Space.Remove
Replies: 2
Views: 9313

Re: NullReferenceException after Space.Remove

thanks for your fast reply. changing the event handling from CollisionPairTouching to CollisionPairTouched did the trick. :)
by steko
Thu Oct 14, 2010 12:36 am
Forum: Questions and Help
Topic: NullReferenceException after Space.Remove
Replies: 2
Views: 9313

NullReferenceException after Space.Remove

hi norbo, first of all thanks for your great work! i'm using bepu physics since v0.8 now but recently run into an issue after updating to the latest releases (0.14.x). when i try to remove an entity that has created a collisionpair i get a nullref exception. in my scenario (which worked in previous ...