Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualtom_mai78101

Posted 27 September 2012 - 02:29 AM

One way I would try in this situation is to not check for collision at all when it enters. To me it seems that at the moment it enters, there is only one way to go and it's basically "stuck" in between the 2 walls. Once it enters, perhaps you can let it follow a path of some sort and when it goes out again, check for collisions again. This way you also ensure you don't get unwanted behavior from the collision response.


Do you mean I have to create a pre-determined path once the object gets near? Man, that's a bit challenging to come up with something like that... Especially when creating one...

EDIT: Creating a pre-determined path: Very advanced... It took a lot of energy, but I didn't manage it. Can't find anything that tells me how to start creating a pre-determined path... Bezier curve...

#2tom_mai78101

Posted 27 September 2012 - 02:28 AM

One way I would try in this situation is to not check for collision at all when it enters. To me it seems that at the moment it enters, there is only one way to go and it's basically "stuck" in between the 2 walls. Once it enters, perhaps you can let it follow a path of some sort and when it goes out again, check for collisions again. This way you also ensure you don't get unwanted behavior from the collision response.


Do you mean I have to create a pre-determined path once the object gets near? Man, that's a bit challenging to come up with something like that... Especially when creating one...

EDIT: Creating a pre-determined path: Very advanced... It took a lot of energy, but I didn't manage it. Can't find anything that tells me how to start creating a pre-determined path...

#1tom_mai78101

Posted 27 September 2012 - 02:18 AM

One way I would try in this situation is to not check for collision at all when it enters. To me it seems that at the moment it enters, there is only one way to go and it's basically "stuck" in between the 2 walls. Once it enters, perhaps you can let it follow a path of some sort and when it goes out again, check for collisions again. This way you also ensure you don't get unwanted behavior from the collision response.


Do you mean I have to create a pre-determined path once the object gets near? Man, that's a bit challenging to come up with something like that... Especially when creating one...

PARTNERS