PlaceholderGames / ProjectCARZZ

Repo for CS2S561 2018 Team 2
0 stars 2 forks source link

Shoppingcart model bug #33

Closed milesbr0 closed 5 years ago

milesbr0 commented 5 years ago

When I imported the shopping cart vehicle it was huge compared to other objects and scaling it down in Unity messed up all the joints and it made the vehicle behavior awful so I edited the cart object in Blender. Seems like it's still fckd up and even though it's driveable it throws errors.

capture

The blue circle is the collider, the red one is the object itself.

I'll fix it tonight.

DewyHealy commented 5 years ago

Do you have the link to the asset? I could see if it works better scaling down in 3DS Max and then give you the .fbx

milesbr0 commented 5 years ago

That would be neat. I've used this one http://www.oyonale.com/modeles.php?lang=en&page=45

DewyHealy commented 5 years ago

Ello, I've had a look and made smaller one. It looks like the problem in unity is only assigning the mesh collider to the object and not the individual meshes, because then they the mesh properly (if you catch my drift but if not I'll show you a screenshot) Anyway, the shopping cart was about 100k polys so i've reduced that down to 20k and you can barely notice

Here's the file https://drive.google.com/file/d/1xmkiMlsp6cKaC0GxU65X_w-rugjlZW4T/view?usp=sharing

DewyHealy commented 5 years ago

capture

Here's what I mean about the Unity collision problem - I think this should help you.

milesbr0 commented 5 years ago

I've tried both assigning the colliders to each mesh and having a single collider, both threw errors. :( Once I get home after that VRSW#3 event I'll try to make it work

milesbr0 commented 5 years ago

The pivot for the wheels are at the center of the shopping cart which makes a funny interaction, I can't overwrite that in Unity. Could you export just one wheel by itself? https://www.youtube.com/watch?v=pABK13XAVFE&feature=youtu.be

DewyHealy commented 5 years ago

I guess the pivot points aren't centred to the objects - fixing this now

milesbr0 commented 5 years ago

Cheers man, I am almost finished with the military vehicle, posting a video about it soon

DewyHealy commented 5 years ago

No problem dude, here is the new shopping cart with centred pivot points. https://drive.google.com/file/d/1828XgqUUSeyIVye9bvfh1uih9jsRpETt/view?usp=sharing

If you need anything else done just give me a shout.