JustInvoke / Randomation-Vehicle-Physics

Vehicle physics system for the Unity engine.
https://justinvoke.com/game-assets/#randomation-vehicle-physics
864 stars 184 forks source link

Custom Map Issues #27

Closed 7ekhed closed 6 years ago

7ekhed commented 6 years ago

I loaded into a custom map, and made a terrain. I grabbed the F1 car prefab, applied all of the scripts, but what I get is a car that has wheels moving, but no motion. Plz help

JustInvoke commented 6 years ago

One issue I've seen some users have is the wheels clipping into the ground and not detecting any collisions. The fix for this has been to adjust the wheel cast mask on the global control object/script to include the layer containing environmental geometry. If this isn't what your issue is then I would appreciate a video or a more in-depth description.

7ekhed commented 6 years ago

I solved the previous issue listed, but no matter what I do, it doesn't turn. Also, after a certain amount of time, it will just not work at all. Video Attached.

https://youtu.be/OTZUhdahi2o

7ekhed commented 6 years ago

What happens now is it goes a certain distance, then stops, then is unable to move again.

7ekhed commented 6 years ago

P.S., im using 2.0.9

JustInvoke commented 6 years ago

Did you make any modifications to the muscle car prefab? The way the tire smoke particles are always emitting tells me that something wasn't set up correctly. I also see an error in the console and depending on where that is coming from, it could be stopping the execution of important scripts and resulting in the particle emission. Try to fix the errors and see if the problem goes away.

7ekhed commented 6 years ago

I am unsure of the issue because it says that the issue has something to do with the TireMarkCreate.Update () function, and by taking a look at it, there appears to be nothing wrong incorrect

JustInvoke commented 6 years ago

Is the Ground Surface Master configured properly on the GlobalControl object? If you used the prefab of the object then it should be. Make sure there is only one instance in the scene.

7ekhed commented 6 years ago

It is, but turning is now the issue, and the engine just stops after i stop moving, and doesnt want to respond, so im very confused as to what its doing

7ekhed commented 6 years ago

Also, is it possible to use your map in a public game?

7ekhed commented 6 years ago

And one last question, how can I modify the prefabs, because when i try and save a prefab, none of the textures show up

JustInvoke commented 6 years ago

I'm sorry but I don't know what could be causing the issue. It could be anything from a mistake made when setting things up or the fact that you're using Unity 2017, which I have not tested my vehicle physics with. I have not used Unity 2017 at all, so I don't know how applying prefabs could be breaking the textures.

You could try using unity 5.6.1 and see if any of the problems show up. If they don't, then we'll know that something about opening the package in Unity 2017 is breaking things.

You can use the map in a public game as the models in the package are public domain.

7ekhed commented 6 years ago

Ok, thanks for helping, and thank you for responding. I will try in another version of unity! thanks!