Hi, Hope you’re doing good.
I want to calculate the input given by user to a vehicle and if on give input the tires rotate more than the velocity of car, I want to spawn a smoke particles.
In simple words I want to spawn smoke when tires are rotating but car is stationary or not equal to the speed of tires.
Hope you get the query.
Thanks.
1 Like
You could try getting the angular velocity of the wheels → the vector length and test against the chassis component velocity → vector length.
For the wheels you would probably want to average out the value between all of them.
2 Likes
Thanks man. It solved the problem
1 Like
Mark it as resolved so other people might find it helpful in the future
1 Like