Hey there,
I need some help. I posted about this before and it got answered by using the pin behaviour. Let me explain a little more briefly.
I have a physics puzzle game. All objects have the physics behaviour. My moving platforms have the platform behaviour and physics behaviour, But when my object rolls onto the moving platform even though it is still, it slides side to side on the platform(this is without the pin behaviour) . I tried to use the pin behaviour with a time limit on so when the rolling object rolls or falls off(due to physics) then it pins to the platform. But this created a bad bug, if the rolling object rolls fast and then slows down and falls off, it hangs in the air pinning to the platforms position but in mid air instead and not on the platform or unpinning the object.
I tried testing conditions for when the player velocity=0 but it didn't work
Any help? Please, I would really appreciate it