hi I'm having problems with rendering to a texture and collisions.
here's what i got
theres my mainloop
and heres my update with the collisions
the gun is global
If I comment out the render to texture part in the loop it works fine but if i don't it wont detect the collision
but other collisions work fine
the c\e is a camera with a radius of 5
here's what i got
While Not KeyHit(1) Cls If KeyHit(19) Stop;WireFrame True; updatebul() updatechar() ;updateenemy() updatehud() UpdateWorld HideEntity cam ShowEntity overheadcam RenderWorld CopyRect 0,0,128,128,0,0,0,TextureBuffer( radtex ) ShowEntity cam HideEntity overheadcam RenderWorld Text 0,0,TrisRendered()+" ",0,0 WaitTimer(fpstimer) Flip Wend End
theres my mainloop
and heres my update with the collisions
If EntityCollided(c\e,weapon1) c\wepf=c\wepf+1 FreeEntity gun4 ShowEntity gun5
the gun is global
If I comment out the render to texture part in the loop it works fine but if i don't it wont detect the collision
but other collisions work fine
the c\e is a camera with a radius of 5