Hi, there
I’m trying to make roller conveyor with out conveyor track builder extension.
But I don’t know how to make the cylinder spin continuously. I tried with omnigraph and changed the property of the cylinder but it didn’t work.
Is there any way or function to do it?
To simulate conveyor belt you would have to do two things:
a) make the cylinder spin - change the rotation of the cylinder, this can be probably easily done with removing default rotation op and replacing by rotateX (assuming the cylinder is build around X axis). Then you can in code just change the rotation value (float)
b) to have physics working correctly you need to setup the surface velocity. This is done by creating a rigid body with collider on the cylinder, then set it to kinematic body and then set the linear velocity. It will be converted into surface velocity. You can control the velocity in code too.