- Home /
Wheel Colliders not registering Collision on OnCollisionStay
I have 2 wheel colliders as childs of an empty object, the empty object is a child of my frame, which has a rigid body. I have a script on the frame with OnCollisionStay. The wheel Colliders are the only thing touching the ground as the frame is suspended on them.
The problem is that when the wheel touch the ground it does not register as a collision. if my frame touches the ground, it does.
How do I make the wheel colliders register a collision for the parent frame?
Answer by UsmanAbbasi · May 12, 2016 at 06:30 AM
You have to attach "OnCollisionStay" script and rigidbody on objects with wheel collider and then you can notify the script on frame object through some public method.
Your answer
Follow this Question
Related Questions
Plane CollisionWheels keep jumping around 0 Answers
Collision.impulse = 0 in OnCollisionStay Kinematic Static collision pair after Update 0 Answers
How to get the relative distance and velocity of two collision bodies 1 Answer
Wheels are going inside plane 0 Answers
What variable type is this? 1 Answer