Page 1 of 1
Collision Events
Posted:
Tue Jan 10, 2012 4:52 am
by phyzix5761
I have several collision events occurring between a normal actor and a filled region. Some times the collision registers but other times it doesn't. You can see an example in the latest build of Buddha Blocks. Why does that happen and how can I work around that?
Re: Collision Events
Posted:
Tue Jan 10, 2012 7:38 am
by master0500
An easy way of stopping an actor from moving through a tile is by controlling the speed (for instance setting a max speed).
That's what Sky' said
hope it helps
Re: Collision Events
Posted:
Tue Jan 10, 2012 1:41 pm
by phyzix5761
I've tried this and unfortunately it still happens. It happens even at the slowest speed possible, almost as if the region is not catching the collision at all. I have also tried putting a region around the monk character but the same issue occurs.
Re: Collision Events
Posted:
Tue Jan 10, 2012 6:45 pm
by skydereign
Then your problem is something else entirely. How you've setup collisions is extremely weird. If you are trying to make your own collision system, I would at least suggest that the player's feet should collide with the other actors, instead of the platforms colliding with it. That way it is far more efficient since only one actor is checking if it is colliding with several actors, instead of many actors checking if they are colliding with one. Normally I would recommend actually using PhysicalResponse, as well as setting your collision events to repeat.
Re: Collision Events
Posted:
Tue Jan 10, 2012 10:37 pm
by phyzix5761
Trying some of your suggestions Sky. So far so good. Thanks!