https://www.youtube.com/watch?v=BN711zugcyE
https://www.youtube.com/watch?v=BN711zugcyE
So I made all those necessary tire textures with normalbumpmaps and grey as GTA IV Specular, but they have weird shining texture. And I wasn't able to fix the wobbly rotation of my wheels. They are not on place when the car moves as you can see in my video link above. What is the cause of this?
Rims are shining and wheels have wobbly rotation
Moderator: Oleg
Re: Rims are shining and wheels have wobbly rotation
you wheel axes are not aligned with wheel collision axes. and/or wheel axes are not centered.
Re: Rims are shining and wheels have wobbly rotation
You mean the dummy, like wheel_lr and so on? Should I center object?
Re: Rims are shining and wheels have wobbly rotation
dummy's axes are usually centered. I mean geometry object of the wheel should have its axes centered to geometry. and the wheel object itself should have the same axes as its parent dummy node.
I haven't seen VC hierarchy for a while, I don't remember all the details, but you can test various combinations. the main idea is that first hierarchy element related to the wheel (wheel dummy probably) is the point of rotation for the wheel. the geometry object the game rotates should have its axes centered to geometry object. I suspect the game automatically "moves" the wheel geometry to wheel dummy axes (on every wheel), but it can't center geometry axes to the center of the wheel - you have to do this in advance.
I haven't seen VC hierarchy for a while, I don't remember all the details, but you can test various combinations. the main idea is that first hierarchy element related to the wheel (wheel dummy probably) is the point of rotation for the wheel. the geometry object the game rotates should have its axes centered to geometry object. I suspect the game automatically "moves" the wheel geometry to wheel dummy axes (on every wheel), but it can't center geometry axes to the center of the wheel - you have to do this in advance.
Re: Rims are shining and wheels have wobbly rotation
It's actually GTA IV with the Vice City Next Gen mod
What should I do then?

Re: Rims are shining and wheels have wobbly rotation
this is related to how the game shades the geometry with the material settings and textures you are using. I would recommend apply original game's textures on problematic material (with no uv changes, just replace your textures in material's textures slots) and test in game. this might be related to textures you're using.