- Home /
deformation when collision happens
Hi !
As you may see , I have a serious deformation issue
I think it happens when the box on the platform is not anymore the child of it when the collision between both is over.
I thought about constraining the scale of the box , but actually , because the box becomes the child of the platform , it sounds complicated.
What can I do to prevent my box from deformating ? (it doesn't happen everytime it stops colliding with the platform and it happens oftener when the box is falling away than when it falls on the ground on the right side).
PS : I've used this script to move the cubes http://www.unifycommunity.com/wiki/index.php?title=DragObject
What do you mean, 'Defor$$anonymous$$g'? That's really not normal behaviour. In fact, I thought it was impossible to achieve without complicated scripting! Are you sure it's not something funny about your camera? Try turning off all of your screen effects, and have a close look at it.
I'm 100 % sure the box scale is increasing for no reason (not really a deformation I know)
Answer by Rydrako · Sep 19, 2011 at 11:32 PM
Try the premade script, DragRigidbody. If you don't have it import the Scripts package from the Assets menu at the top.