Page 1 of 1

Directional rolling tag for 3D models.

Posted: Mon Dec 29, 2008 23:52
by Super Chex
It would be neat if you could tag a model with TURNROLL or TURNROLL #.
The number sign would be how much the model would be affected.

Posted: Tue Dec 30, 2008 0:07
by Graf Zahl
No idea what you want.

Posted: Tue Dec 30, 2008 8:45
by Spleen
Maybe he wants to be able to rotate models in real time through ACS or DECORATE?

Posted: Tue Dec 30, 2008 20:35
by Nash
Spleen, now that you mention it... I would actually love to have model rotating functions either through ACS or DECORATE.

I found some old code I messed around with in DarkBASIC way back then that basically adjusts a car's orientation correctly on irregular terrain and it would be great if I could port over the math into GZDoom for my zombie mod which features drivable cars...

Posted: Tue Dec 30, 2008 20:41
by Enjay
Could you not work around that by using custom states for your actor and a model that has frames at different rotations? It wouldn't be as fine as proper controlled rotation, but it *should* work to a certain extent.

Posted: Tue Dec 30, 2008 20:47
by Nash
I thought of that, but it wouldn't be as smooth as being able to do it precisely in real-time, which constantly adjusts itself to the terrain below it. Also, I can't have wheel animations then (well actually I could but it would involve creating lots of states - each "rotation" needs its own set of wheel animation). All in all, it would be a lot of work for something that doesn't look very convincing.

Come to think of it, it wouldn't work anyway because the car should be able to dynamically rotate along the X and Z axis and no amount of predefined rotations can cater to a dynamic combination of rotations...

(Hope I made sense heh)

Anyway, it's just nice to have but not necessary. If there was no such feature, then I don't think I'd really care if the car remains perfectly horizontal eventhough it's on slopes or irregular ground... :P