I know there are a few topics about calculating the colliding force between 2 objects, but my problem is a little different.
I’m trying to calculate the force of impact of my WheelCollider hitting the ground. The WheelCollider is on a motorcycle with a rigidbody, but the ground collider doesn’t have any rigidbody or mass attached to it.
Right now I’m using the following code, which works for most situations:
collision.impactForceSum.y
which calculates the vertical collision forces, but doesn’t seem to take into consideration whether I’m landing on flat ground or in a downhill slope, as the collision force is pretty much the same in both cases (coming down from the same height).
Any help much appreciated, as always