10-01-2023, 03:56 PM
(This post was last modified: 10-01-2023, 04:02 PM by josemendez.)
(10-01-2023, 03:52 PM)patriot4947 Wrote:
Of course, I used collision material with friction(set as 1 and 0) and that's not happen automitically. Am i missing something?
Well if friction is not zero, off the top of my head it can only be one of two things:
- Friction constraints are globally disabled in the solver (in your ObiSolver component, under the "Constraints" foldout, make sure friction constraints are enabled).
- Your rollers are not actually being physically simulated, but just reoriented manually by setting their transform's rotation. For friction and other velocity-dependent properties to be accounted for, objects must be rigidbodies, and they must be rotated either by applying a torque to them or by using a motorized joint. This applies to "regular" Unity physics as well. Easy way to test if this is the problem is to check whether your rollers can move a simple box rigidbody.