Im trying to make a ball game where a ball just rolls around and jumps and has to avoid falling off the platform
i will be adding elevators and random moving platforms, and my ball just keeps falling off of this animated moving platform that is moving on the Z-axis
UNITY - How do I make object stick to moving platform?
1 Answer
1
Use colliders to detect if the Ball is on the platform, when it is you parent the ball to the platform. This way the ball will follow the platform exactly. When you roll off you detect that the Ball is no longer colliding with the platform and unparent it again.
It's just amazing that until today, no one else has ever had problems with colliders on moving platforms before and thought to ask Unity Answers where [Google][1] could find it. [1]: http://lmgtfy.com/?q=unity+collision+"moving+platforms"
– Kiloblargh