Varriount / fvtt-autorotate

Token Auto-Rotation Module for Foundry VTT
MIT License
7 stars 9 forks source link

FEATURE REQUEST: Disable Rotation Animation in v12 #35

Open GambetTV opened 5 months ago

GambetTV commented 5 months ago

Hi, I know you haven't updated for v12 yet, but if/when you do, my understanding is that v12 now allows for disabling the rotation animation of tokens. I have never liked the way they implemented this feature, or the way it plays with your module. When dragging a token from one place to another the token will slowly rotate over the course of the entire distance dragged. Even when just holding Shift and scrolling the mousewheel, there's just a jankiness to it that makes it very difficult to do with any real speed or accuracy. I'd really prefer it if it were just disabled entirely, so that it never occurred.

Would this be possible to add?

Varriount commented 5 months ago

Has v12 been released? And/or could you link to the relevant information on this new rotation feature? At least previously, this hasn't been possible because Foundry hasn't supported customizing a token's movement animation (at least, not without resorting to patching Foundry's internals).

GambetTV commented 5 months ago

v12 was released about a week ago I think. I don't have any specific information, as I am very much not a programmer. The module About-Face was able to disable the rotation animations on their module, although their implementation is a little janky. At present it only works when you drag the token, and even then your token faces the same direction until the very end of the movement, at which point it turns to whatever the new facing is.

I talked to them a bit more in depth since opening this thread and they believe that it's certainly possible to disable rotation animation, but they don't necessarily view it as in scope for their module. I think that's because their module is primarily about adding token-facing arrows to coin-style tokens, rather than what I use, which is more the topdown facing tokens like what you see with Foundry's default Forgotten Adventures art. Your module seems more geared toward that, so I was hoping if you have the time and inclination, you might be able to take a crack at it.

Appreciate it either way!

brunocalado commented 4 months ago

Would be nice to update the manifest file for v12 too.

brunocalado commented 3 months ago

Any news on v12?

Varriount commented 3 months ago

@brunocalado I have attempted to implement this using v12's new animation APIs, and haven't had any luck.

brunocalado commented 3 months ago

@brunocalado I have attempted to implement this using v12's new animation APIs, and haven't had any luck.

Foundry VTT Discord has a channel where you can get help. I could be worth.