Hi, i got some difficulties with the Wheels.
Ok i have a vehicle and i want to know when each wheel have a collision with the ground or not.
Iam using the WheelShape.Detector property.
The Detector does not create contacts with anything, so it will never actually fire contact-related events like InitialCollisionDetected or CollisionEnded. It will, however, fire CollisionPair related events.
CollisionPair events won't tell you exactly when the ray hits something, but rather when the Detector's AABB overlaps with other entities' AABB's.
You can also check the Vehicle's support entities each frame through each Wheel's SupportingEntity property.
oops, when i try to use the SupportingEntity in the update method, i get "Object reference not set to an instance of an object." wheel.SupportingEntity = null