Pre Test before adding shape to world

Pre Test before adding shape to world

HiI am trying to curently convert my current project from bullet to havok. I am wondering if theres a way to test if a collision would happen wihtout adding it to the world. For examples if i spawn a box at pos x y z will it collide with anything.Thanks

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Best Reply

Hi,

Have a look at the 'Asynchronous Queries' demos and documentation:
Physics/Api/Collide/AsynchronousQueries/ShapeQuery demo and Physics Manual Chapter3, Section 5.5.

Cheers,
Cormac

Thanks a lot cormac was exactly what I was looking for and thanks for a speedy reply :)

Login to leave a comment.