When i use render.DrawWireframeBox even with false as last argument :
render.DrawWireframeBox( Vector(0,0,0), Angle(0,0,0), Vector(640.018677, 799.989685, -143.968750), Vector(1023.974792, -896.031250, 64.006676), Color(255,0,0,255), false)
it render trough walls...
How to disable it pls ?
Put it in the right hook. Try PreDrawViewModel, or see Render Order
PreDriawViewModel is even more fcked up !
Whoops, I just realized I think setting the last argument in your function to true might help, lol. If it's doesn't help, try DrawOpaqueRenderables
Setting the last argument to false is causing it to not write to the depth buffer, which will make it appear in front of everything.
Wow, I just ninja'd code_gs! There's a first time for everything...
Sorry, you need to Log In to post a reply to this thread.