I need help with walls: problems with collisions and transparency

zaxxon

250RPM
Mar 30, 2009
292
5
The BTB project can be downloaded here: Click to DOWNLOAD the BTB project

I have two kinds of walls: a) tree-walls and b) invisible walls. All of them are on the boundary of the driveable zone.

The problems are:

1) I would like all the walls to be collisionable, so the car can't go out of the driveable zone. I can't achieve it. I have tried "everything".

2) The tree-walls show a thin black line on their top, where they are supposed to be transparent. May be in BTB the thin line is not visible, but when racing in RBR you can see it.

I would appreciate any help with this problems.
 

chub_pearson

250RPM
Mar 16, 2009
312
2
Hi there,

with No 2, I think the black line is the base of the image somehow 'reflecting' onto the top in the mips. Try making the bottom 2 or 3 pixels of the image transparent [so the trees don't reach all the way down to the bottom of the image].
 

Kerante

10RPM
Mar 20, 2009
13
0
flipping the walls upsidedown seems to fix it, i think the walls are collidable only from one side
 

zaxxon

250RPM
Mar 30, 2009
292
5
Thank you both, Kerante and club_pearson, for your time and help :wink2:
I will try to apply your ideas.
 

zaxxon

250RPM
Mar 30, 2009
292
5
Hi there,

with No 2, I think the black line is the base of the image somehow 'reflecting' onto the top in the mips. Try making the bottom 2 or 3 pixels of the image transparent [so the trees don't reach all the way down to the bottom of the image].
It works!
:good:
If the bottom pixels of the image are dark, the thin line appears on the top of the wall. Exactly what you said.

Thanks :wink2: