Player getting stuck in wall

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
User avatar
creekmonkey
Posts: 116
Joined: Tue Oct 23, 2007 2:55 pm

Player getting stuck in wall

Post 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?
Jay
RF Dev Team
Posts: 1232
Joined: Fri Jul 08, 2005 1:56 pm
Location: Germany

Re: Player getting stuck in wall

Post by Jay »

It would be good to know the preferences set in the StaticMesh entity...
Everyone can see the difficult, but only the wise can see the simple.
-----
User avatar
creekmonkey
Posts: 116
Joined: Tue Oct 23, 2007 2:55 pm

Re: Player getting stuck in wall

Post 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
User avatar
zany_001
Posts: 1047
Joined: Fri Mar 02, 2007 8:36 am
Location: Aotearoa

Re: Player getting stuck in wall

Post by zany_001 »

Possibly turn on backfaces? Or increase collision detection?
Once I was sad, and I stopped being sad and was awesome instead.
True story.
User avatar
creekmonkey
Posts: 116
Joined: Tue Oct 23, 2007 2:55 pm

Re: Player getting stuck in wall

Post by creekmonkey »

Thanks zany. Setting Backfaced to True solved the problem
User avatar
zany_001
Posts: 1047
Joined: Fri Mar 02, 2007 8:36 am
Location: Aotearoa

Re: Player getting stuck in wall

Post 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.
Once I was sad, and I stopped being sad and was awesome instead.
True story.
User avatar
creekmonkey
Posts: 116
Joined: Tue Oct 23, 2007 2:55 pm

Re: Player getting stuck in wall

Post 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.
Post Reply