I need to create an object like a wall where other object can't pass thought neither enter a little into it. Anybody knows how can I do this? I'm crasy.
then write a handler which will execute any code you want to happen on collision (on collision me). See macromedia's 3D help section on more info on this stuff.
I did this a while back. I used a dummy object that I moved first, did my check, if no collision then I moved it, if there was a collision I moved the other object to the very edge of the collision object. It worked unless the object moved too far in one step and cleared the wall in one go. Should be able to avoid this by setting a max distance per jump less than the width of your walls.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.