Closed 1NoobDev closed 3 years ago
Can you provide some .blend file that can be used to reproduce the issue?
Thank you for the quick response.
Hopefully you're able to find the problem/solution, as I'm more than willing to use this in your vehicle physics pack for Unity :)
Edit: I uploaded the wrong Blend file.. This file exceeds the Github file size so i put it in my Google Drive. https://drive.google.com/file/d/1YU697bV1rlBWFEQr_AhGdbMjmEwpO4Fk/view?usp=sharing
Kind regards,
Unfortunately I couldn't do anything with that .blend file. It shows collections only, no hierarchy nor meshes. I can't even switch between Object and Edit mode! (the menu shows Object mode only). Am I missing something?
This is how the hierarchy looks when I open that file:
How could I see or "expand" the actual Object hierarchy?
That's strange.. Might be because of the way the Transportation add-on works? I have to click on 'Make editable for animation' before I can see the hierarchy. Do you have any experience on this?
This is how i see the file I shared..
It could be that exactly this, is what's keeping your export plug-in from working accordingly.. What's your thought?
Probably. I can only see the objects by using the command "Make Instances Real", but then the hierarchy is flat and disconnected. Exporting the file now mostly works and all objects except one are in their correct pose. But no armature nor animation are exported, possibly because of the "Make Instances Real" command.
Still, the resulting objects are not suitable for realtime animation in Unity. There's no proper hierarchy, the origins of the moving parts (wheels, suspension) are not configured, and the objects include unnecessary rotations in the Blender file. The same happens when using the stock FBX exporter. Those rotations are properly exported to Unity, but they make no sense in vehicles.
It seems that the Transportation add-on is specifically designed to be used within Blender for animations, cut scenes, CG pictures, showcases, etc but not to export the vehicles for realtime simulation. Using these vehicles in Unity (or any other engine) would require these steps in Blender:
Unfortunately there's nothing else I could do here, as that's the way the Transportation tool works.
Thanks a lot for thinking along, muy appreciated! When I get some more time, I will try the method you described. For now I'll stick to exporting as *.obj . That is working fine in Unity. Your Vehicle Physics for Unity runs like a charm with these cars!
I think this 'issue' can be closed, as it's has little to do with your Blender-to-Unity-FBX-Exporter.
Cool, good to know!
Trying to use the cars from the Transportation add-on for Blender in Unity with the Edy's Vehicle Physics. Though, when i use this Blender-to-Unity-FBX-exporter is get the following strange behaviour, on any car i try to export to Unity.
The versions of Blender and Unity I'm using:
See screenshots for an instant understanding of the problem.
Here you see the vehicle after importing it into Unity:
Here is the vehicle from Transportation add-on in Blender, all fresh no edits made:
I've tried to follow the instructions provided in the Readme of this git, though, i can't get it working. With the rotation I noticed the Wheelcolliders from the Vehicle Physics add-on are not working on the road..