- Home /
Something on a moving platform
Hey!
I know the question is already asked here , but the answer is not clear
I want to make my rigidbody objects moving with the platforms ? How can I do that , i've tried checking use Kinematic on the platform , the rigidbody stays better on the platform but it slips quickly though even when the motion of the platform is very slow.
Thank you for reading.
Answer by syclamoth · Sep 19, 2011 at 02:53 PM
Try setting the CollisionDetectionMode on the box and the platform to "Continuous Dynamic" - this should fix objects falling through each other, since they check for collisions along a line instead of just at the current point. It is a little slower, however, so you should only use it whenever you absolutely have to.
Answer by poncho · Sep 15, 2011 at 09:36 PM
you need the both objects to be non-kinematic, and the platform moving with transform.translate, if you moving it with transform.position you can get the other object fall through the platform
my box is still slipping off the platform , I have to put a very very low value for the translate to keep the box on the platform , and I want the platform to go faster without the box slipping !
you can make some fixes, 1-using the platform as a parent while the object is in contact, 2-moving the object at the same rate of the platform, 3-using joints(i havent used them yet), hope any of this works
Your answer
Follow this Question
Related Questions
Rigidbody on a platform 2 Answers
Parenting a player to a rigidbody platform 0 Answers
Prevent Player to push Rigidbody 0 Answers
movement inside a train problem 1 Answer
Rigidbody, jumping and gravity help 0 Answers