Posted: Fri Apr 11, 2003 2:16 pm
Joined: 07 Nov 2002
Posts: 34
even in a very simple environment, my player (actor) sometimes passes through walls. is there a bug in the engine (2.25) ?
even when it is a VERY simple setting (player object, for testing just a cube) inside a big cube (yes i inverted the normals), the player can easily get out of the cube. i think i missed something or this problem is very common, but i need to know a workaround, cos how to do a walk through when you fall out of the world

?
thanks
verence
Posted: Fri Apr 11, 2003 5:41 pm
Joined: 16 Oct 2002
Posts: 1520
are you using dLoc on your motion actuators on your player object?
It seems to be the most common error that leads to passing through walls.
---- or ---
each face your wall consists of must have the collision flag set (enter face select mode with the fkey, select all of your faces, go to the paint buttons, press the collision button, press copy drawmode, exit face mode with fkey
is your player moving slow enough? When objects move really fast, each frame, they are likely to pass through walls. If your framerate is slow enough that your object travels further than the diamater of it's bounding sphere on each frame, you may start seeing problems with objects passing through walls.
Posted: Fri Apr 11, 2003 7:23 pm
Joined: 07 Nov 2002
Posts: 34
yep, i am using dloc, what is wrong with that?
and yep, i know about this collision flag thingy (even when my post count is low, i am not that kind of rooky...

).
greetz, verence
Posted: Fri Apr 11, 2003 7:56 pm
Joined: 15 Oct 2002
Posts: 188
DLOC is a dynamic location change which means that the object is just jumping from one location to another. It can miss the wall entirely. Use the force buttons instead to move the object. This will cause the object to be "pushed" into the wall and cause a reaction. Good Luck!
Posted: Fri Apr 11, 2003 9:13 pm
Joined: 16 Oct 2002
Posts: 166
Be wary that force can break collisions as well if you make it too large.