on_player_rotated_entity - prior direction?
-
- Fast Inserter
- Posts: 128
- Joined: Thu Feb 08, 2018 8:25 am
- Contact:
on_player_rotated_entity - prior direction?
I have a case where it would be useful to know which direction an entity was rotated in (clockwise or counterclockwise). Would it be relatively simple to add a new parameter to on_player_rotated_entity to indicate either the entity's .direction previous to the successful rotation, or the direction the entity rotated in? Thanks!
Re: on_player_rotated_entity - prior direction?
Ok, I've added it for 0.17.
If you want to get ahold of me I'm almost always on Discord.