playMaker

Author Topic: Modify Colliders in Playmaker?  (Read 1503 times)

kenmarold

  • Playmaker Newbie
  • *
  • Posts: 14
Modify Colliders in Playmaker?
« on: January 02, 2016, 10:34:47 PM »
I'm having some trouble with modifying colliders during an animation and I was hoping someone might be able to shed some light on the proper way to approach this. My current development tools are Unity/Playmaker/Spine. I have a character that walks and jumps and does other moves that change his height. When the character jumps he tucks his knees which makes his height dramatically shorter than when he's in a standing position. This is an obvious issue since the collider doesn't scale to match the change in body height during the jump which presents immediate problems when jumping over things. What's the best way to modify the colliders during the jump animations. I've attached a screenshot to better illustrate my problem.

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Modify Colliders in Playmaker?
« Reply #1 on: January 03, 2016, 02:05:13 AM »
You could use animation events to modify the size of the collider if the collider size needs to move/scale during specific animations
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!