I'm trying to create a system in my game where the character has to aim a flashlight at enemies on the map while moving around. Being able to lock your characters direction on the fly would make this a lot easier, but I've been running into some issues. I've tried two different routes, but both have an issue.
First Method:
I created a common event that would turn direction fix on and off for my character and tied it to a button using Yanfly's common event button plugin. I also was using Galv's StationaryTurn plugin so that characters could turn without having to move onto a new space. But using StationaryTurn was causing the character to simply freeze whenever direction fix was applied. Without the plugin, the common event worked as expected.
Second Method:
I figured I'd cut out the middleman and look for a plugin that locked character direction, and started using Hime's Lock Facing Direction plugin, since StationaryTurn is compatible with it. Only problem is, it makes every character on screen lock their direction. I tried using the plugin on a blank project and it still happened. I'm not sure if this is by design, or if there's an issue I'm missing.
First Method:
I created a common event that would turn direction fix on and off for my character and tied it to a button using Yanfly's common event button plugin. I also was using Galv's StationaryTurn plugin so that characters could turn without having to move onto a new space. But using StationaryTurn was causing the character to simply freeze whenever direction fix was applied. Without the plugin, the common event worked as expected.
Second Method:
I figured I'd cut out the middleman and look for a plugin that locked character direction, and started using Hime's Lock Facing Direction plugin, since StationaryTurn is compatible with it. Only problem is, it makes every character on screen lock their direction. I tried using the plugin on a blank project and it still happened. I'm not sure if this is by design, or if there's an issue I'm missing.