playMaker

Author Topic: Jumping and ignore collision  (Read 2148 times)

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Jumping and ignore collision
« on: June 04, 2014, 03:32:01 AM »
Hi,

I have my character jumping using Translate and lands in a Trigger (just a box collider) and all works with the collider, my issue is that when i jump forward and land into the Trigger, it collides with the Trigger causing the player to jump short (basically hits the Trigger like hitting a wall).

This however doesnt happen when my player is walking using Translate? this is entering the Trigger and walks straight through.

any ideas why this could be. Using Physics AddForce doesnt cause issues but a Translate based jump does?

thanks

Nick

vonpopov

  • Junior Playmaker
  • **
  • Posts: 98
Re: Jumping and ignore collision
« Reply #1 on: June 04, 2014, 12:02:02 PM »
why not using a mesh collider instead ? then you could jump freely ?


If you can not, you could just use some playmaker_behavior to deactivate your collider. ;)





coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Re: Jumping and ignore collision
« Reply #2 on: June 06, 2014, 02:54:37 AM »
Hi

Ive tried that but with no luck, not sure how to deactivate the collider, will have to look into it

thanks

Nick

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Jumping and ignore collision
« Reply #3 on: June 06, 2014, 03:29:22 AM »
Hi!

You can use "Set Property" to deactivate collider. And a lot of other things. :)
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no