PDA

View Full Version : Gaming help needed with character and wall interaction [renamed]



Bj_Miffo
November 8th, 2004, 05:57 AM
Hello again!
I'm having problem with walls. When I name two "Left bound"-walls the character will stop in the middle of them. How can I fix this problem, without name them with different names?

eiefai
February 13th, 2005, 12:27 AM
sorry, the zip file is corrupted, i cant open it

Blackspirit
February 13th, 2005, 05:32 AM
Ok, you've got the hittest based around the bounding box right?

This bounding box includes the area between the two walls. When you jump inbetween the cups, its says your colliding with both the walls, even though it doesn't look like your touching them.

You have to seperate it into four walls.
cup1Rightwall
cup1Leftwall
cup2Rightwall
cup2Leftwall

and do their coorsponding hit tests.