bs.orientation:: This folder contains functions that facilitate
the management of the orientation of entities.
get: Detects the orientation of an entity and stores it on the
scores “OriH” and “OriV”, corresponding respectively to the angles
formed on the horizontal and vertical plane by the orientation of the
normalize: Allows to normalize the oriantations (replace the OriH
and OriV scores respectively in the interval [0;360[ and [0;180[)
set: Allows to orientate the entity according to its scores “OriH”
and “OriV”. This function has variations on h and v, useful for players
for whom the orientation cannot be modified directly via a /data.
💬 Did it help you?
Feel free to leave your questions and feedbacks below!