Page 1 of 1

[QueryAccelerator] How to get this

Posted: Wed Apr 06, 2011 3:54 pm
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/

Re: [QueryAccelerator] How to get this

Posted: Wed Apr 06, 2011 5:35 pm
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.