seems like the getCollisionResultPosition got changed and i can't figure it out how to call it now.
from the api:
i have problems with the outnode parameter. why is there a *& for the outnode oO you can only point to a scenenode so why don't we pass the normal pointer to the function?virtual core::vector3df irr::scene::ISceneCollisionManager::getCollisionResultPosition ( ITriangleSelector * selector,
const core::vector3df & ellipsoidPosition,
const core::vector3df & ellipsoidRadius,
const core::vector3df & ellipsoidDirectionAndSpeed,
core::triangle3df & triout,
core::vector3df & hitPosition,
bool & outFalling,
const ISceneNode *& outNode,
f32 slidingSpeed = 0.0005f,
const core::vector3df & gravityDirectionAndSpeed = core::vector3df(0.0f, 0.0f, 0.0f)
)
what does the paramter look like for
Code: Select all
scene::ISceneNode* outNode;