Search found 7 matches
- Sat Apr 14, 2012 7:07 pm
- Forum: Questions and Help
- Topic: Passing specific entities for narrowphase only
- Replies: 11
- Views: 20985
Re: Passing specific entities for narrowphase only
Ah! I found the "UpdateBoundingBox()" and I figured I had to set the LocalPosition to the actual position of my entity, and now they draw and appear properly, meaning my mobile mesh shape is properly centered around my models, just to be safe! is there anything besides those 2 steps to set...
- Sat Apr 14, 2012 7:02 pm
- Forum: Questions and Help
- Topic: Passing specific entities for narrowphase only
- Replies: 11
- Views: 20985
Re: Passing specific entities for narrowphase only
Hello again, I was a bit confused about how to update the bounding boxes of my entities... and now I am confused all together since when I noticed that they are of volume 0 (min max both 0, 0, 0), what I don't understand now is that if I got the vertices and indices out of my collision model how com...
- Sun Apr 01, 2012 10:55 pm
- Forum: Questions and Help
- Topic: Passing specific entities for narrowphase only
- Replies: 11
- Views: 20985
Re: Passing specific entities for narrowphase only
Brilliant, that is also a bit faster than the event handler, simply looking if there are any contacts in the list, thank you so much for the help, I might have to come back to you later on about some sizing issues when creating the shapes for the entities since I am modifying their sizes at the cont...
- Sun Apr 01, 2012 10:26 pm
- Forum: Questions and Help
- Topic: Passing specific entities for narrowphase only
- Replies: 11
- Views: 20985
Re: Passing specific entities for narrowphase only
Hey Thanks a lot again!
I changed the event handler from "InitialCollisionDetected" to "DetectingInitialCollision" and that did trigger!
Now question, should I use that event handler or should I use "PairTouching"?
I changed the event handler from "InitialCollisionDetected" to "DetectingInitialCollision" and that did trigger!
Now question, should I use that event handler or should I use "PairTouching"?
- Sun Apr 01, 2012 9:03 pm
- Forum: Questions and Help
- Topic: Passing specific entities for narrowphase only
- Replies: 11
- Views: 20985
Re: Passing specific entities for narrowphase only
Hey again, I stumbled upon another issue... I ended up using MobileMeshShapes since my buildings are actually moving (such as asteroids or abandon space stations), so for every entity I make, I remove all events and then add my own handler to the "InitialCollisionDetected" which links an s...
- Fri Mar 23, 2012 5:55 am
- Forum: Questions and Help
- Topic: Passing specific entities for narrowphase only
- Replies: 11
- Views: 20985
Re: Passing specific entities for narrowphase only
wow thanks for the amazing and fast reply, I will be using static meshes then for my buildings and convex hulls for my main objects that are flying thought the static meshes, this now makes a lot more sense to me, an even though the process might be doing some extra overhead I don't feel it will be ...
- Fri Mar 23, 2012 4:03 am
- Forum: Questions and Help
- Topic: Passing specific entities for narrowphase only
- Replies: 11
- Views: 20985
Passing specific entities for narrowphase only
Hello, I have been working on a game that requires me to be able to go through objects that have spaces inside of them, sort of like a building with a hole in the middle, to achieve this I turned to Bepu, I was able to understand the main concepts of how you create entities out of models (for the co...