Problem with Physics (81444)

Sorry about my English. I’m making a racing game. When i’m playing, my car and AI car are impact with high velocity. After collision. They fly up, many times i try many way to turn off the force direct y, examples: FreezePositionY, iskinematic = true,… But i don’t like that ways because they are not real. After collision. 2 objects have a force and i only want the force direct y is zero. Anybody help me, plz.

Mmm try to lower the rigidbody's center of mass

–

You may want to look at applying downward force to keep the cars on the road more effectively, without affecting the realism of the physics too much.

–

I'm try to increase Drag and Angular Drag values, and possibly add a constant down force like suggested by Aldonaletto and you. it's seem look better but sometimes the cars still fly up, my rigidbody car: 1600, drag: 0.8, angularDrag: 0.5, my wheel mass: 20, spring 5500, damper 50. How should i do next? Thanks.

–

1 Answer

1

The default Rigidbody settings for Drag and Angular Drag are suitable for objects in space - when applied to cars, the result is way exagerated, even worse than the most stupid Hollywood action movies: the cars fly and spin crazily in the air after any small collision. Try to increase Drag and Angular Drag values, and possibly add a constant down force like suggested by @VioKyma.

I'm try to increase Drag and Angular Drag values, and possibly add a constant down force like suggested by Aldonaletto and you. it's seem look better but sometimes the cars still fly up, my rigidbody car: 1600, drag: 0.8, angularDrag: 0.5, my wheel mass: 20, spring 5500, damper 50. How should i do next? Thanks.

–