Page 1 of 1

Player getting stuck in wall

Posted: Fri Sep 04, 2009 2:02 pm
by creekmonkey
I thought I had seen this problem addressed before in the forum but I have searched and cant find the post.

I have a StaticMesh (building created in milkshape), anytime the player bumps into a wall he gets stuck there, and the only way to get free is re-start the game. The player himself is not inside the wall, but his bounding box is. Any solutions or suggestions?

Re: Player getting stuck in wall

Posted: Fri Sep 04, 2009 5:09 pm
by Jay
It would be good to know the preferences set in the StaticMesh entity...

Re: Player getting stuck in wall

Posted: Sat Sep 05, 2009 10:30 pm
by creekmonkey
Sorry couldnt upload a picture to link to, but here is the static mesh prefrences

ActorRotation........000
Alpha ................. 255.0
Backfaced............ False
BoneName........... <null>
ColCheckLevel...... 2
CompLight.......... False
CompLightSm...... true
CompSunLight .... False
EntityName
FillColor........... 128 128 128
Model ............. <null>
origin.............. 64 -240 0
Scale............... 1
StaticShadow..... False
szActorFile........ main3.act
scActorName
UseFillColor....... False
VisCheckLevel.... False
Zsort.............. False

Re: Player getting stuck in wall

Posted: Sun Sep 06, 2009 3:18 am
by zany_001
Possibly turn on backfaces? Or increase collision detection?

Re: Player getting stuck in wall

Posted: Sun Sep 06, 2009 4:13 am
by creekmonkey
Thanks zany. Setting Backfaced to True solved the problem

Re: Player getting stuck in wall

Posted: Sun Sep 06, 2009 4:35 am
by zany_001
No problem. My guess is the Bbox could go in the wall one way, but not the other. Sorta like the tarbaby.

Re: Player getting stuck in wall

Posted: Mon Sep 07, 2009 3:56 am
by creekmonkey
I THINK several factors caused the problem....scaleing the actor down to .25 was probably the most significant factor. But the walls were also very thin, also I deleted the top and bottom faces of the walls which could have contributed to the problem.