Changing event bounding box based on direction it's facing

Hello there!

I don't know if this can be done or not, but is it possible to change an event's trigger/bounding box/collision based on the direction it's facing? i.e. for something long and rectangular like a car that takes up a 48x96 space (2 tiles), if it was facing up/down the bounding box would be "x1 y2" and if it was facing left/right the bounding box would change to "x2 y1".

Help_02.png


I've done some experiments myself using Estriole's Event Size and Trigger Plugin along with Conditional Branches and the "Else" command. As you can see in the image, the very first Comment with <event_size: 7 1 1 0> works perfectly. But when the event turns left or right it still uses <event_size: 7 1 1 0> instead of switching to <event_size: 4 4 3> which is specified under the conditions.

Help_01.png


I know the event commands that I set up is definitely wrong in some way, but I haven't got a clue on why it's not working or what other options there are to achieve this result.

Thanks for your time. 🙂
You might find this plugin useful: Big Sprite Movement/Collision/Trigger Fix

" When a big character moves and turns around, the size will be adjusted accordingly. "
You might find this plugin useful: Big Sprite Movement/Collision/Trigger Fix

" When a big character moves and turns around, the size will be adjusted accordingly. "

Wow, I searched around for hours and didn't even come across that plugin. Thanks for the help, the plugin was a really simple solution to my problem!

Original thread: https://forums.rpgmakerweb.com/threads/changing-event-bounding-box-based-on-direction-its-facing.129003/