codebeginner
codebeginner

Reputation: 41

Object too fast for Collision in Unity

I'm currently making a simulation where disks are placed in a conveyor belt and sorted by color. When the sensor detects a white disk, a rectangular object 'pushes' out of the conveyor belt into a box, and it needs to move quickly. However, whenever we set the speed to a high number it just goes through the disks, without pushing them. I have already tried making the pushing object's collision detection 'Continuous dynamic' (RigidBody) and the disks' collision detection 'Continuous' (like in this video: https://www.youtube.com/watch?v=XvrFQJ3n8Mo). I have attached an image of how the mentioned part of the robot looks and the settings for both the disk and pusher object.

disk and pusher object settings disk and pusher object settings

visualisation of robot simulation
visualisation of robot simulation

Upvotes: 4

Views: 944

Answers (1)

Snir Ego
Snir Ego

Reputation: 98

Your problem has been solved HERE , in short it is because only convex mesh colliders can collide with each other. (Your right one is convex and the left one is not).

Upvotes: 1

Related Questions