I have a dozen or so cylinders that each rotate using the transform.rotate to simulate rolling, and then a cube drops on top of them but the cube doesn’t move in the direction of the rolling cylinders.
The cylinders are kinematic, so they stay in place and gravity isn’t applied. Both the cube and rollers have rigid bodies.
I’ve come to understand moving via transform tends to negate physics, so I tried to apply torque to the rollers in order to get them moving but following the code in the API nothing spins.
Anybody know what may be going on? I have a cheater script that detects if the cube is on a platform and applies force to simulate a set of rollers, but i’m looking for a more realistic solution. If only one corver of the cube is touching, I want just the corner to move and not the entire cube as the cheater script causes to happen.
I tried the code here link textPhysics Best Practices - Unity Learn but if i got it working I only need the cylinder to roll in place.