Hi guys, I'm using Havok with Ogre to develop a physics based platform game for a college project. One of the use cases is being able to pick up (via ray cast) a block from the scene and use it on a button to trigger an action. At the moment I have this working with the global castRay function, but the documentation says that the hkpShape's version is better for short rays.In a game we probably want to pick up items which are 20-50m away at a maximum, and we want to shoot objects which are 500m away. Should I change my item pick ups to hkpShape casts?
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.