stopping the camera going through walls? heres a piece of helper code:
lets say the character object is 1, and the camera object is 2
and the scenery is objects 1000 to 2000
this code is basic and simple, but im constantly improving through the code:
Position object 2,camera position x(0),camera position y(0),camera position z(0)
For object=1000 to 2000
If object collision(2,object)=1
For camadj=1 to 1000
move camera 0,0.01
Position object 2,camera position x(0),camera position y(0),camera position z(0)
If object collision(2,object)=0 then goto camadjusted
Next camadj
camadjusted:
Endif
this codell make it zoom closer the the character if the camera collides with a wall
This piece of code is still buggy, but it works to some extent
update on COB, yay! motion blur and faster animations...
:p