playMaker

Author Topic: stop player with collider problem[SOLVED]  (Read 2337 times)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
stop player with collider problem[SOLVED]
« on: July 01, 2013, 09:10:28 PM »
Hi,

i try to make my player inside a moving area, so stopped by something.
it works but i encounter a bugg that allow the player to pass throwgh.

i made a little video to better understand how i procede.


if someone as an idea how i can solve it
« Last Edit: July 02, 2013, 02:40:18 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: stop player with collider problem
« Reply #1 on: July 02, 2013, 02:34:37 AM »
Salut,

Ok, I had this issue, and I can't remember what it was. I need to think, it will come back to me today I am sure.

-- try to not have colliders overlapping, your vessel is big so you can leave spaces within each of your colliders

-- how do you control the vessel movement? via force or with iskinematics on?

-- forget adding redundant colliders. you need to keep it clean

-- try changing the physics collision detection to continous dynamic. and try to add a physics to your colliders as well


also, do you really need physics here? that's likely something you can avoid completly since your vessel doesn't seem to need physics based movement like jumping or falling realisticly. so maybe you could find another way out?


bye,

 Jean

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: stop player with collider problem [SOLVED]
« Reply #2 on: July 02, 2013, 02:39:05 AM »
thanks, i have fund how to solve it,

i reparented the ship and the area correctly, and after removing the colliders, just defined as i want the max/ min height, and back/front local positions

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: stop player with collider problem
« Reply #3 on: July 02, 2013, 02:40:06 AM »
Hi,

 good!

bye,

 Jean