[QueryAccelerator] How to get this

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
thiago
Posts: 22
Joined: Sat Oct 16, 2010 10:32 pm

[QueryAccelerator] How to get this

Post by thiago »

Some functions need a instance of the QueryAccelerator.
now iam passing:
Space.BroadPhase.QueryAccelerator
to them.
Is this the right way ?
Can i create concretes of IQueryAccelerator ? Or i should use that from BroadPhase ?

--
3D XNA PloobsEngine Released http://ploobsengine.codeplex.com/
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: [QueryAccelerator] How to get this

Post by Norbo »

It's best to use the Space.BroadPhase.QueryAccelerator. It's technically possible to create a broad phase separately from the engine, but it's not recommended unless you have very specific needs.
Post Reply