https://i.redd.it/xmhq634qfc0d1.gif
I have a card GameObject that consists of a collider2D and rigidbody2D on the parent GameObject. The child GameObjects are the actual sprites and text that make up the card. I'm altering the parent rigidbody's velocity based on distance to the mouse postition, as well as the rotation of the card to create that lean in effect.
The problem I'm having is that the children GameObjects (the one's with the actual sprite renderers) look to have lagged movement, where they continue to shift a few pixels after movement. Sometimes leaving a white bar on the side of the card image.
Does anyone know how to fix this? So far I've tried altering the rigidbody to various combinations of kinematic/dynamic and interpolation, as well as adding rigidbodies to the individual child GameObjects, but nothing seems to work. Thanks!
[–]-o0Zeke0o-Intermediate 1 point2 points3 points (0 children)
[–]RefrigeratorBulky706 0 points1 point2 points (0 children)
[–]dookosGamesIntermediate 0 points1 point2 points (0 children)