Rims are shining and wheels have wobbly rotation

ZModeler2-related discussion. General questions, howto, etc.

Moderator: Oleg

Post Reply
Turkish20
Posts: 77
Joined: Thu Feb 25, 2016 4:59 pm

Rims are shining and wheels have wobbly rotation

Post by Turkish20 »

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?
User avatar
Oleg
Site Admin
Posts: 14790
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Rims are shining and wheels have wobbly rotation

Post by Oleg »

you wheel axes are not aligned with wheel collision axes. and/or wheel axes are not centered.
Turkish20
Posts: 77
Joined: Thu Feb 25, 2016 4:59 pm

Re: Rims are shining and wheels have wobbly rotation

Post by Turkish20 »

You mean the dummy, like wheel_lr and so on? Should I center object?
User avatar
Oleg
Site Admin
Posts: 14790
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Rims are shining and wheels have wobbly rotation

Post by Oleg »

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.
Turkish20
Posts: 77
Joined: Thu Feb 25, 2016 4:59 pm

Re: Rims are shining and wheels have wobbly rotation

Post by Turkish20 »

It's actually GTA IV with the Vice City Next Gen mod :) What should I do then?
User avatar
Oleg
Site Admin
Posts: 14790
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Rims are shining and wheels have wobbly rotation

Post by Oleg »

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.
Post Reply