Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: rechronicle on May 01, 2019, 10:15:03 AM

Title: Lock collider position on Rotating object?
Post by: rechronicle on May 01, 2019, 10:15:03 AM
Hello,
I want to make the collider keep its position to check if it is grounded.
How to do it exactly?
(Preview in the attachment.)

Thank you!
Title: Re: Lock collider position on Rotating object?
Post by: blackant on May 02, 2019, 03:29:05 AM
separate the collider on a parent object, then make the child the sphere who can rotate freely on top of it
Title: Re: Lock collider position on Rotating object?
Post by: rechronicle on May 02, 2019, 12:21:59 PM
Hello,
I actually tried that method, and the collider ended not following the sphere.
I'm not sure then after.

In the end, I'm using the tag to check the 'land' collision and allowing jump if its collide.

Thank you
Title: Re: Lock collider position on Rotating object?
Post by: blackant on May 02, 2019, 03:09:41 PM
then why not keeping the 2 objects separated and set position of the box collider relative to sphere position ?

this would do the trick