aws / lumberyard

Amazon Lumberyard is a free AAA game engine deeply integrated with AWS and Twitch – with full source.
Other
2.02k stars 539 forks source link

Add unbounded overlap to physics world #512

Closed yuriy0 closed 3 years ago

yuriy0 commented 3 years ago

This change exposes the 'unbounded' mode for PhysX overlap queries.

This is much more efficient that using the regular (bounded) overlap if: you're querying very large areas which have very many physical objects inside, and you aggregate the result of the query immediately as opposed to operating on individual objects returned from the query.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AMZN-puvvadar commented 3 years ago

Hi @yuriy0 ,

Thanks for the submission, we'll evaluate it and update when we have more info.

AMZN-puvvadar commented 3 years ago

Hi @yuriy0 ,

We've evaluated the change and will be accepting pending some performance testing. Thanks for the submission!