My game has a Ferris Wheel with 4 seats. Each seat has a platform that the hero can rest on. When the seat is on the upward trajectory the hero calmly stays on the platform.
However, when the seat is on the downward trajectory the Hero moves up/down a bit.
I've tried a few obvious things: 1. Setting the restitution to 0 has no effect. 2. Setting linearDamping to 1 has no effect. 3. Making the mass of the platform and hero the same has no effect. 4. Adjusting friction has no effect.
Here is the platform physics body:
supportNode?.physicsBody?.categoryBitMask = PhysicsCategory.ferrisPlatform.rawValue
supportNode?.physicsBody?.mass = 1000
supportNode?.physicsBody?.restitution = 0.0
supportNode?.physicsBody?.friction = 0.0
supportNode?.physicsBody?.linearDamping = 1.0
Here is the hero body:
self.physicsBody?.linearDamping = 1.0
self.physicsBody?.mass = 30
self.physicsBody?.restitution = 0
self.physicsBody?.friction = 0
Thanks for any tips. Its definitely bizarre that the hero is fine on the way up on the ferris wheel ride but only shows quirky up/down movement on the way down.