I need help with walls: problems with collisions and transparency

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.
 
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].
 
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:
 

Latest News

What's needed for simracing in 2024?

  • More games, period

  • Better graphics/visuals

  • Advanced physics and handling

  • More cars and tracks

  • AI improvements

  • AI engineering

  • Cross-platform play

  • New game Modes

  • Other, post your idea


Results are only viewable after voting.
Back
Top