Natural Ball Movement on Moving Platform
Jel
Member Posts: 319
I have a platform that moves left and right with the following expression 60*cos( self.Time *20%360)
My actor is a round in shape but when it lands on the platform the actor stays in one place and does not move with the platform. I have tried several different physics rules on both actors but I can't get a realistic movement of my actor with the platform.
Any help would be greatly appreciated, thanks Jel
My actor is a round in shape but when it lands on the platform the actor stays in one place and does not move with the platform. I have tried several different physics rules on both actors but I can't get a realistic movement of my actor with the platform.
Any help would be greatly appreciated, thanks Jel
Comments
I have friction set to 3 on both actors but changing it doesn't seem to make any difference. I've been messing around with a test project and it seems that having moveable set to true on the platform makes the left right movement of the ball much more realistic but the ball then falls through the platform.
If I set the platform to move with move behaviours the ball/colliding objects move in much better way but now the ball seems to slowly sink into the platform.
that's why when you use the "move" attribue the behavior is correct and when you use constraints the behavior is wonky.
also, fyi collisions are only possible when at least one of the actors is "Movable" because the engine is optimized to ignore when two non-movable objects intersect. i.e. teleporting objects via manual x/y relocation does not trigger collision detection UNLESS one of the objects involved in the collision is "Movable."