In my lame first person shooter my weapon is going inside walls. I searched and found a top about it...
How would I do this in C#?
"Turn of the ztesting for the weapon mesh - and draw it LAST always"
Weapon Going Inside Walls
You should be able to disable the zbuffering for "myNode" node this way
Dunno if this is enough to draw your weapon as the last mesh... let me know!
Code: Select all
myNode.SetMaterialFlag(MaterialFlag.ZBUFFER, false);