Simple collision issue

Non-platform specific questions.

Simple collision issue

Postby elfdav » Mon Sep 10, 2012 4:22 pm

Hi guys,

i got a collision issue. I try to find a solution into the forum without success. Can you help me ?

All you have to do is to launch the Speed.ged project and push the space bar. You will see the Player Ship jump and then collide with the blue ground. Instead of stay on ground, the player ship go through it and fall to the infinite.

Since i have used a Physical Response, i can't see what can i do more and WHY the Player Ship can't just stay onto the ground instead of go throuh and fall...

Thanks if you have any suggestions because i'm on this issue since many days now...

Thanks again.
Attachments
Speed.zip
(476.87 KiB) Downloaded 106 times
elfdav
 
Posts: 14
Joined: Sat Feb 14, 2009 4:18 pm
Score: 0 Give a positive score

Re: Simple collision issue

Postby supatails » Mon Sep 10, 2012 4:52 pm

I fixed it! The problem was so simple it took me a while to realize what it was! XD Just set your COLLISION>PHYSICALRESPONSE to repeat enabled, that way it will always have a physical response while colliding, because currently it will only have a physical response when it very first collides. :D
User avatar
supatails
 
Posts: 43
Joined: Tue Aug 04, 2009 4:54 am
Score: 1 Give a positive score

Re: Simple collision issue

Postby elfdav » Mon Sep 10, 2012 9:02 pm

Thank you.

Your advice is useful, even i tried it before. Actually, there were another cause i fixed it: The ground must be "uncuted" if you don't want your ship go through out and fall.
It means the ground must be set to infinite AND must be as large as your image is to be correctly repeated...If it is smaller than it's picture container, sometime the ship fall when then collision appear to be where the cut is (sorry if i'm not pretty clear)

Thanks anyway to helped me !

David
elfdav
 
Posts: 14
Joined: Sat Feb 14, 2009 4:18 pm
Score: 0 Give a positive score

Re: Simple collision issue

Postby supatails » Tue Sep 11, 2012 3:54 am

That's interesting. I'll keep that in mind when I'm working with my games. I could especially see that being a problem with CollisionFree or getActor.
User avatar
supatails
 
Posts: 43
Joined: Tue Aug 04, 2009 4:54 am
Score: 1 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron