nm problem solved..

Como lo resolviste ayuda.
Can you help us??
I can't get the collision work
Hi, finally I can get the collision work.//start collision point
linestart.x = sngPositionX;
linestart.y = sngPositionY;
linestart.z = sngPositionZ;
// Update the vectors using the angles and positions.
sngPositionX = sngPositionX + (float)(System.Math.Cos((double)sngAngleY) * sngWalk / 5.0f * TimeElapsed) + (float)(System.Math.Cos((double)sngAngleY + 3.141596 / 2) * sngStrafe / 5.0f * TimeElapsed);
sngPositionZ = sngPositionZ + (float)(System.Math.Sin((double)sngAngleY) * sngWalk / 5.0f * TimeElapsed) + (float)(System.Math.Sin((double)sngAngleY + 3.141596 / 2) * sngStrafe / 5.0f * TimeElapsed);
lineend.x = sngPositionX;
lineend.y = sngPositionY;
lineend.z = sngPositionZ;
TV_COLLISIONRESULT CollisionTest = new TV_COLLISIONRESULT();
if (TVScene.AdvancedCollision(ref linestart, ref lineend, ref CollisionTest, CONST_TV_OBJECT_TYPE.TV_COLLIDE_MESH, CONST_TV_TESTTYPE.TV_TESTTYPE_ACCURATETESTING, true))
{
sngPositionX = linestart.x;
}
if (TVScene.AdvancedCollision(ref linestart, ref lineend, ref CollisionTest, CONST_TV_OBJECT_TYPE.TV_COLLIDE_MESH, CONST_TV_TESTTYPE.TV_TESTTYPE_ACCURATETESTING, true))
{
sngPositionZ = linestart.z;
}
But I have some problems, look at this images attached:How to fix this problem with the collision? the camera The camera passes through the wall a little and see what's behind img3.JPEGplease if anyone can help me I would appreciate