To create my level/map bordes I would like to create invisible walls, so that models collide with it and will not be able to walk further.
Any suggestions? Thank you in advance
And something else.. I want to create a rails texture in 3dsmax. Is there a way to make it semi-transparent?
like below, where white is transparent...
| | | | | | | | |
Invisible wall , level borders
does setVisible(false) work in this case?Anteater wrote:For your first question, model your invisible wall, and then make a 100% black texture for it, then set that as the texture for your invisible wall mesh, then set the material type to EMT_TRANSPARENT_ADD_COLOR.
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
for that, you have to make difference in your loader algorithm.
i suggest you to make it transparent texture, and just give a full transparent texture xD
or if youre making the whole map in one model, then that would be a good idea to use a different model for collision.
you know, one model for displaying, and one more, more primitive model what not shown, but used for collision
i suggest you to make it transparent texture, and just give a full transparent texture xD
or if youre making the whole map in one model, then that would be a good idea to use a different model for collision.
you know, one model for displaying, and one more, more primitive model what not shown, but used for collision
-
- Competition winner
- Posts: 1123
- Joined: Sun Jun 10, 2007 11:14 pm