I want to make a wall drive through and add color to it and make it slightly transparent. What I do is something like this:
box
name box
position 100 0 0
rotation 0
size 5 30 50
drivethrough
color 0.75 0.75 0.75 0.75
end
Then when I go to test it I can drive half way then I just get stick and can't go all the way though it, is there something I'm doing wrong?
Wierd wall color problem
Wierd wall color problem
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
GU League | Ducati League | OpenLeague
Re: Wierd wall color problem
It is likely that you are colliding with another object. As a test, try with just the above object and see if you can drive through it properly. If that works, then it's another object you're hitting.
Re: Wierd wall color problem
Alright, tried it with just that object and I can only go about half way through it before I stop, then it's the same problem as above.
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
GU League | Ducati League | OpenLeague
-
- Private First Class
- Posts: 1400
- Joined: Sun Feb 06, 2005 5:40 pm
- Location: Somewhere over there.
Re: Wierd wall color problem
There is a problem with the box and pyramid objects when they are drivethrough and have a material/textures/colors. Use meshboxes and meshpyramids instead. Or heck, just use meshes.
Re: Wierd wall color problem
So it's a bug, ok. Time to learn something new
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
GU League | Ducati League | OpenLeague
- Agent West
- Private First Class
- Posts: 318
- Joined: Thu Jan 31, 2008 1:32 pm
Re: Wierd wall color problem
or do something like this:
material
name clear
diffuse .75 .75 .75
end
box
name box
position 100 0 0
rotation 0
size 5 30 50
matref clear
drivethrough
end
material
name clear
diffuse .75 .75 .75
end
box
name box
position 100 0 0
rotation 0
size 5 30 50
matref clear
drivethrough
end
Rest in peace, AliceD (AKA Happy Alice)! miss ya!
Re: Wierd wall color problem
Ok, I copied and pasted exactly what Agent west did and I got stuck again around half way through. If it make any difference I run Windows Vista
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
GU League | Ducati League | OpenLeague