Animation type for hydraulics and other objects fixed at two locations
fsendventd opened this issue · 10 comments
Smells like trig that @DrprofLuigi might be able to help with. I hate trig as much as Indy hates snakes.
It's something that could be approximated (take a look at the UNU Solenodon), however more accurate animation would necessitate trig function suffixes for more variables. Though, perhaps something with VMs could be done...
VMs use translations to apply their changes. What if rotation VMs execute trig math? @DonBruce64, if you can point me to the file that handles VM math processing, I might be able to whack something together 🤔
@DrprofLuigi You'll wanna go after the code that does variable processing in general, not the VMs. VMs just run code though the animation system and store that result into a variable on the entity. So
I'm going to hold off on this personally until someone releases a model that can use this. I an't coding trig for future content. I hate it enough for current content.
right now the hydraulic piston clips through the floor of the bed when lifting
actually, there is something it would benefit thats publically released. franz's giant artillery cannon
My farming equipment use hydraulic cylinders. Almost all of them have cylinders on them somewhere but only some (just one currently) actually have animations for them...
I'm gonna punt this ticket to @DonBruce64 for a PR, since he's working on engine and rotational animations right now. 1-month outsourcing timeline starts now.
I think the ping above was for @DrprofLuigi and I mis-clicked. But he's not working on these, and probably never will given our convos, so I'm going to table this for the moment. I think it's a good idea, but I don't have the brain to do it.