Timeline for When should an object with a collider have a rigidbody?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 24 at 14:26 | comment | added | Zibelas | You need to use the rigidbody in combination with moving ONLY if you want to have physics interactions during the move. If you do not care about that, there is no need to use the rb for moving | |
| Oct 24 at 7:32 | comment | added | Curio | In your example game you used the UI canvas, therefore in that case you don't have to attach a collider on the cards so to be clickable and draggable. Sadly, in my case the cards are not in the UI canvas, so they must have a collider in order to be clicked and dragged. And according to this post, every movable having a collider must be moved through a rigidbody: discussions.unity.com/t/…. Note: actually mine is not a card game, that was a semplification. Anyway, I need to drag things on the scene (no need to collide). | |
| Oct 24 at 6:45 | history | edited | Zibelas | CC BY-SA 4.0 |
added 367 characters in body
|
| Oct 24 at 6:13 | history | answered | Zibelas | CC BY-SA 4.0 |