Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: kenmarold on January 02, 2016, 10:34:47 PM

Title: Modify Colliders in Playmaker?
Post by: kenmarold 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.
Title: Re: Modify Colliders in Playmaker?
Post by: mdotstrange 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