Hi All,
How do I draw lines that are visble in the game engine? I need a scene where single lines are visible. Is it possible to have the “wireframe” feature iin the game engine? It’s very useful. Thanx
You can play a game in wireframe, but then the whole game would be wireframe. The best option for a low-poly “wire” would be to have a flat plane mapped with a wire texture with a transparent alpha layer.
Pooba
hmm, thats not such a good idea.
Just model a 2D wire vertex coloured black.
If its very niticable that it is 2D then add a cross section.
-Luke
If the wire is a long straight line, you can add a script that turns the wire in lingth, to the camera (not weidth, this will turn the wire) and you’ll see all the time when looking to the wire, a fake 3d wire. I don’t know which script, but I think this is possible.
yes, you could create a script. but scripts are not a good solution to most things. Each script slows down your scene just by being run. So a script for this and a script for that is a worse solution than just creating a cross section. A black wire doesn’t even need to react to light and so you wouldn’t be able to tell that it wasn’t a wire anyway with a cross section.
-Luke
can’t you do that with one of the billboard face settings or something like that?
make a plane, strech it out, then spin it along the length quickly.
no!! just do it with a cross section. thats all you have to do , will look perfect and have very low cost when coming to running your game.
The bill board thing won’t work for curved cables neither will the spinning the thing round fast.
Using a cross section allows for any shape and costs practically nothing for the engine to render!!!
-Luke