- Home /
No Collision between Rigidbody and Kinetic Rigidbody
Hi there, I have a wrecking ball, constructed from a sphere and several cylinders, connected with fixed and hinged joints. Obviously, a rigidbody is attached to each. All works well. I then have a 'user sphere', which also has a rigidboy and 'iskinematic' and the user moves around.
I can detect a collision between the user sphere and the wreckball sphere, but not the user sphere and the cylinders. The cylinders have a capsule collider and a rigidbody attached so according to the collision action matrix there should be a collision, but it's not reporting any.
Any ideas? Thanks!
How are you sure that no collision is reported? Do you have a script attached on each cylinder?
Indeed yes. I have a script attached to each object that displays a debug .log when a collision occurs. Strange - when I un freeze rotation, it picks up the collision. Will investigate further!
Are the cylinders non-kinematic? If not, you will need to change them to non kinematic. As the ref states, one of the rigidbodys in question need to be non kinematic. You can just check the use gravity to off if that was the reason for the switch.
Your answer
Follow this Question
Related Questions
Drag & Drop GameObject with MovePosition shoots other Gameobject away in case of them colliding 1 Answer
Collider going through walls with box collider.. 1 Answer
Rigidbody not working 0 Answers
Child calling parent's OnTriggerEnter when no Rigidbody is attached to child 1 Answer
collision without rigidbody 1 Answer