collsion with mesh problem

Blitz3D Forums/Blitz3D Beginners Area/collsion with mesh problem

Braden(Posted 2008) [#1]
Hello,
I recently imported a 3d model into my program. The problem is, whenever I collide with it, my caera can see through it, in fact, it happens with all my collisions. Does anyone know how to prevent this? I tried using the EntityRadius code, but it had no effect... Any help would be appreciated!


Nate the Great(Posted 2008) [#2]
If you set the entityradius of the camera to 1 and the collisions are sphere-polygon then your camera should never end up inside of a mesh.


Braden(Posted 2008) [#3]
well, the camera does not go into the mesh, it sees through it. SO when I collide into it, I see through it, but do not go through it...


Nate the Great(Posted 2008) [#4]
camerarange camera,.00001,10000


Braden(Posted 2008) [#5]
The code you gave me made my meshes go crazy! I added the code under the createcamera part, When the camera moves the meshes flash alot and makes the quality look terrible...


Nate the Great(Posted 2008) [#6]
what graphics card do you have...

try this

camerarange camera,.001,1000


Braden(Posted 2008) [#7]
HAH! it worked! thanks, you helped alot!

I have an Intel graphics media card.